Oluwaseun Olorunsola
2022-06-30 11:25:34 +01:00
committed by Veljko V
parent d18d510bbd
commit dba58b032f
2 changed files with 3 additions and 3 deletions

View File

@ -13,7 +13,7 @@ function SenderEmailAddressWarning({
if (mssActive) { if (mssActive) {
if (!isEmailAuthorized) { if (!isEmailAuthorized) {
return ( return (
<span className="mailpoet_error_item mailpoet_error"> <p className="sender_email_address_warning">
{ReactStringReplace( {ReactStringReplace(
MailPoet.I18n.t('youNeedToAuthorizeTheEmail'), MailPoet.I18n.t('youNeedToAuthorizeTheEmail'),
'[email]', '[email]',
@ -27,7 +27,7 @@ function SenderEmailAddressWarning({
> >
{MailPoet.I18n.t('authorizeMyEmail')} {MailPoet.I18n.t('authorizeMyEmail')}
</a> </a>
</span> </p>
); );
} }
return null; return null;

View File

@ -49,7 +49,7 @@ class SenderField extends Component {
field={this.props.field} field={this.props.field}
onValueChange={this.onChange} onValueChange={this.onChange}
/> />
<div className="regular-text"> <div className="regular-text" style={{ marginTop: '2.5rem' }}>
<SenderEmailAddressWarning <SenderEmailAddressWarning
emailAddress={this.state.emailAddress} emailAddress={this.state.emailAddress}
mssActive={window.mailpoet_mss_active} mssActive={window.mailpoet_mss_active}