Fix <Modal> footers with long-text or lots of buttons
This commit is contained in:
parent
6664315e3a
commit
7038a3f3ab
9 changed files with 48 additions and 20 deletions
|
@ -78,7 +78,7 @@ export const ConfirmationDialog = React.memo(
|
|||
return (
|
||||
<Modal i18n={i18n} onClose={cancelAndClose} title={title} theme={theme}>
|
||||
{children}
|
||||
<Modal.Footer>
|
||||
<Modal.ButtonFooter>
|
||||
<Button
|
||||
onClick={handleCancel}
|
||||
ref={focusRef}
|
||||
|
@ -101,7 +101,7 @@ export const ConfirmationDialog = React.memo(
|
|||
{action.text}
|
||||
</Button>
|
||||
))}
|
||||
</Modal.Footer>
|
||||
</Modal.ButtonFooter>
|
||||
</Modal>
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue