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
|
@ -35,7 +35,7 @@ export const ErrorModal = (props: PropsType): JSX.Element => {
|
|||
<div className="module-error-modal__description">
|
||||
{description || i18n('ErrorModal--description')}
|
||||
</div>
|
||||
<Modal.Footer>
|
||||
<Modal.ButtonFooter>
|
||||
<Button
|
||||
onClick={onClose}
|
||||
ref={focusRef}
|
||||
|
@ -43,7 +43,7 @@ export const ErrorModal = (props: PropsType): JSX.Element => {
|
|||
>
|
||||
{buttonText || i18n('Confirmation--confirm')}
|
||||
</Button>
|
||||
</Modal.Footer>
|
||||
</Modal.ButtonFooter>
|
||||
</>
|
||||
</Modal>
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue