Ensure "Start from scratch" button sticks to the end of the modal

MAILPOET-5949
This commit is contained in:
Oluwaseun Olorunsola
2024-12-06 11:15:11 +01:00
committed by Oluwaseun Olorunsola
parent 52a6122e74
commit 36130c9809
2 changed files with 10 additions and 2 deletions

View File

@ -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"