Add Powered by Mailchimp text to newsletter sign-up label (https://github.com/woocommerce/woocommerce-admin/pull/7619)
* Add Powered by Mailchimp label text * Vertically center confirmation checkbox
This commit is contained in:
parent
8f836c292f
commit
4c13bca528
|
@ -348,12 +348,22 @@ class StoreDetails extends Component {
|
|||
|
||||
<CardFooter>
|
||||
<FlexItem>
|
||||
<div>
|
||||
<div className="woocommerce-profile-wizard__newsletter-signup">
|
||||
<CheckboxControl
|
||||
label={ __(
|
||||
'Get tips, product updates and inspiration straight to your mailbox',
|
||||
'woocommerce-admin'
|
||||
) }
|
||||
label={
|
||||
<>
|
||||
{ __(
|
||||
'Get tips, product updates and inspiration straight to your mailbox.',
|
||||
'woocommerce-admin'
|
||||
) }{ ' ' }
|
||||
<span className="woocommerce-profile-wizard__powered-by-mailchimp">
|
||||
{ __(
|
||||
'Powered by Mailchimp',
|
||||
'woocommerce-admin'
|
||||
) }
|
||||
</span>
|
||||
</>
|
||||
}
|
||||
{ ...getInputProps(
|
||||
'isAgreeMarketing'
|
||||
) }
|
||||
|
|
|
@ -8,3 +8,14 @@
|
|||
min-width: 360px;
|
||||
}
|
||||
}
|
||||
|
||||
.woocommerce-profile-wizard__newsletter-signup {
|
||||
.components-base-control__field {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.woocommerce-profile-wizard__powered-by-mailchimp {
|
||||
color: $studio-gray-20;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue