Simplify header DOM, style it according to specs

[MAILPOET-2777]
This commit is contained in:
Jan Jakeš
2020-05-28 15:22:36 +02:00
committed by Veljko V
parent af860cdbf6
commit 9047ef5e6c
2 changed files with 8 additions and 12 deletions

View File

@@ -5,11 +5,9 @@ import Heading from 'common/typography/heading/heading';
const ModalHeader = ({ title }) => (
<div className="mailpoet-modal-header">
<div className="mailpoet-modal-header-heading-container">
<Heading level={3}>
{ title }
</Heading>
</div>
<Heading level={3}>
{ title }
</Heading>
</div>
);