mirror of https://github.com/apache/druid.git
Fix history dialog overflow (#9471)
* [IMPLY-1661] fix history dialog overflow * jest -u
This commit is contained in:
parent
814f5a9717
commit
96ed7210d3
|
@ -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>
|
||||
`;
|
||||
|
|
|
@ -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>
|
||||
);
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue