mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-06 18:16:38 +08:00
🎨 Add uniform CSS classes to every block
This commit is contained in:
parent
8bd29e921f
commit
c6be73a536
3 changed files with 3 additions and 1 deletions
|
@ -10,6 +10,7 @@ const InvoicePrefix = () => {
|
|||
<SettingsBlock
|
||||
title="Invoice Prefix"
|
||||
titleSuffix={ __( '(Recommended)', 'woocommerce-paypal-payments' ) }
|
||||
className="ppcp--invoice-prefix"
|
||||
>
|
||||
<ControlTextInput
|
||||
placeholder={ __(
|
||||
|
|
|
@ -19,6 +19,7 @@ const OrderIntent = () => {
|
|||
'Choose between immediate capture or authorization-only, with manual capture in the Order section.',
|
||||
'woocommerce-paypal-payments'
|
||||
) }
|
||||
className="ppcp--order-intent"
|
||||
>
|
||||
<ControlToggleButton
|
||||
label={ __( 'Authorize Only', 'woocommerce-paypal-payments' ) }
|
||||
|
|
|
@ -9,7 +9,7 @@ const PayNowExperience = () => {
|
|||
SettingsHooks.useSettings();
|
||||
|
||||
return (
|
||||
<SettingsBlock>
|
||||
<SettingsBlock className="ppcp--pay-now-experience">
|
||||
<ControlToggleButton
|
||||
label={ __(
|
||||
'Pay Now Experience',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue