diff --git a/plugins/woocommerce-blocks/assets/css/abstracts/_variables.scss b/plugins/woocommerce-blocks/assets/css/abstracts/_variables.scss index b93fb3b1faa..952216d1f59 100644 --- a/plugins/woocommerce-blocks/assets/css/abstracts/_variables.scss +++ b/plugins/woocommerce-blocks/assets/css/abstracts/_variables.scss @@ -20,3 +20,7 @@ $block-container-side-padding: $block-side-ui-width + $block-padding + 2 * $bloc // Cart block $cart-image-width: 5rem; + +// Card element widths +$card-element-small-width: 5rem; +$card-element-width: 7rem; diff --git a/plugins/woocommerce-blocks/assets/js/base/components/payment-methods/express-payment-methods.js b/plugins/woocommerce-blocks/assets/js/base/components/payment-methods/express-payment-methods.js index 5cb719f652e..e34ca48d06d 100644 --- a/plugins/woocommerce-blocks/assets/js/base/components/payment-methods/express-payment-methods.js +++ b/plugins/woocommerce-blocks/assets/js/base/components/payment-methods/express-payment-methods.js @@ -21,7 +21,7 @@ const ExpressPaymentMethods = () => { paymentMethodIds.map( ( id ) => { const expressPaymentMethod = isEditor ? paymentMethods[ id ].edit - : paymentMethods[ id ].activeContent; + : paymentMethods[ id ].content; return isValidElement( expressPaymentMethod ) ? (
This is where paypal payment method stuff would be.
-This is where cc payment method stuff would be.
-