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;
|
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 (
|
return (
|
||||||
<Modal
|
<Modal
|
||||||
title={ __( 'Select a template', 'mailpoet' ) }
|
title={ __( 'Start with an email preset', 'mailpoet' ) }
|
||||||
onRequestClose={ () =>
|
onRequestClose={ () =>
|
||||||
closeCallback ? closeCallback() : handleCloseWithoutSelection()
|
closeCallback ? closeCallback() : handleCloseWithoutSelection()
|
||||||
}
|
}
|
||||||
@ -115,7 +115,7 @@ export function SelectTemplateModal( {
|
|||||||
handleTemplateSelection={ handleTemplateSelection }
|
handleTemplateSelection={ handleTemplateSelection }
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<Flex justify="flex-end">
|
<Flex className="email-editor-modal-footer" justify="flex-end">
|
||||||
<FlexItem>
|
<FlexItem>
|
||||||
<Button
|
<Button
|
||||||
variant="tertiary"
|
variant="tertiary"
|
||||||
|
Reference in New Issue
Block a user