Fix issues with CSS and https://user-images.githubusercontent.com/30554163/176655015-777259ac-5748-48b0-8f27-41befac015a9.png
MAILPOET-4245
This commit is contained in:
committed by
Veljko V
parent
d18d510bbd
commit
dba58b032f
@ -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;
|
||||||
|
@ -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}
|
||||||
|
Reference in New Issue
Block a user