Fix history dialog overflow (#9471)

* [IMPLY-1661] fix history dialog overflow

* jest -u
This commit is contained in:
mcbrewster 2020-03-09 19:09:59 -07:00 committed by GitHub
parent 814f5a9717
commit 96ed7210d3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 87 additions and 81 deletions

View File

@ -16,7 +16,10 @@ exports[`history dialog matches snapshot 1`] = `
tabindex="0"
>
<div
class="bp3-dialog history-dialog"
class="bp3-dialog"
>
<div
class="history-dialog"
>
<div
class="bp3-dialog-body history-record-container"
@ -136,4 +139,5 @@ exports[`history dialog matches snapshot 1`] = `
</div>
</div>
</div>
</div>
`;

View File

@ -65,11 +65,13 @@ export const HistoryDialog = React.memo(function HistoryDialog(props: HistoryDia
}
return (
<Dialog className="history-dialog" isOpen {...props}>
<Dialog isOpen {...props}>
<div className="history-dialog">
<div className={classNames(Classes.DIALOG_BODY, 'history-record-container')}>{content}</div>
<div className={Classes.DIALOG_FOOTER}>
<div className={Classes.DIALOG_FOOTER_ACTIONS}>{buttons}</div>
</div>
</div>
</Dialog>
);
});