Move error message bellow form
[MAILPOET-2602]
This commit is contained in:
committed by
Jack Kitterhing
parent
20a3e6cac4
commit
1c0112ab28
@@ -44,6 +44,7 @@ $icon-button-size: 36px;
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
|
|
||||||
// Centered on desktops
|
// Centered on desktops
|
||||||
|
|
||||||
@media screen and (min-width: 600px) {
|
@media screen and (min-width: 600px) {
|
||||||
// Animate the modal frame/contents appearing on the page.
|
// Animate the modal frame/contents appearing on the page.
|
||||||
animation: mailpoet-modal-appear-animation .1s ease-out;
|
animation: mailpoet-modal-appear-animation .1s ease-out;
|
||||||
|
@@ -69,12 +69,12 @@ const FormPreview = () => {
|
|||||||
{'.mailpoet_hp_email_label { display: none }' }
|
{'.mailpoet_hp_email_label { display: none }' }
|
||||||
{form.css}
|
{form.css}
|
||||||
</style>
|
</style>
|
||||||
|
{/* eslint-disable-next-line react/no-danger */}
|
||||||
|
<div dangerouslySetInnerHTML={{ __html: form.html }} />
|
||||||
<div className="mailpoet_message">
|
<div className="mailpoet_message">
|
||||||
<p className="mailpoet_validate_success">{MailPoet.I18n.t('successMessage')}</p>
|
<p className="mailpoet_validate_success">{MailPoet.I18n.t('successMessage')}</p>
|
||||||
<p className="mailpoet_validate_error">{MailPoet.I18n.t('errorMessage')}</p>
|
<p className="mailpoet_validate_error">{MailPoet.I18n.t('errorMessage')}</p>
|
||||||
</div>
|
</div>
|
||||||
{/* eslint-disable-next-line react/no-danger */}
|
|
||||||
<div dangerouslySetInnerHTML={{ __html: form.html }} />
|
|
||||||
</div>
|
</div>
|
||||||
</Preview>
|
</Preview>
|
||||||
)}
|
)}
|
||||||
|
Reference in New Issue
Block a user