Ensure "Start from scratch" button sticks to the end of the modal
MAILPOET-5949
This commit is contained in:
committed by
Oluwaseun Olorunsola
parent
52a6122e74
commit
36130c9809
@ -34,3 +34,11 @@
|
||||
padding-left: 1rem;
|
||||
}
|
||||
}
|
||||
|
||||
.email-editor-modal-footer {
|
||||
background-color: #fff;
|
||||
bottom: 0;
|
||||
padding: 1rem 2rem;
|
||||
position: absolute;
|
||||
right: 0;
|
||||
}
|
||||
|
@ -103,7 +103,7 @@ export function SelectTemplateModal( {
|
||||
|
||||
return (
|
||||
<Modal
|
||||
title={ __( 'Select a template', 'mailpoet' ) }
|
||||
title={ __( 'Start with an email preset', 'mailpoet' ) }
|
||||
onRequestClose={ () =>
|
||||
closeCallback ? closeCallback() : handleCloseWithoutSelection()
|
||||
}
|
||||
@ -115,7 +115,7 @@ export function SelectTemplateModal( {
|
||||
handleTemplateSelection={ handleTemplateSelection }
|
||||
/>
|
||||
|
||||
<Flex justify="flex-end">
|
||||
<Flex className="email-editor-modal-footer" justify="flex-end">
|
||||
<FlexItem>
|
||||
<Button
|
||||
variant="tertiary"
|
||||
|
Reference in New Issue
Block a user