From 2f2ee7e405e7fad61bad95dde184f939840b5506 Mon Sep 17 00:00:00 2001 From: Alex Florisca Date: Wed, 12 Jul 2023 12:49:38 +0100 Subject: [PATCH 1/2] Fix margin issue with the Proceed to checkout button on the site editor --- .../cart/inner-blocks/cart-express-payment-block/editor.scss | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/assets/js/blocks/cart/inner-blocks/cart-express-payment-block/editor.scss b/assets/js/blocks/cart/inner-blocks/cart-express-payment-block/editor.scss index f30f4936feb..5563654d140 100644 --- a/assets/js/blocks/cart/inner-blocks/cart-express-payment-block/editor.scss +++ b/assets/js/blocks/cart/inner-blocks/cart-express-payment-block/editor.scss @@ -13,6 +13,11 @@ } } +.block-editor-block-list__layout .wp-block-woocommerce-proceed-to-checkout-block { + margin-bottom: 28px; + margin-top: 28px; +} + .wp-block-woocommerce-checkout-express-payment-block-placeholder { * { pointer-events: all; // Overrides parent disabled component in editor context From 078d6e87aff180e61463cae15cee206c968fe385 Mon Sep 17 00:00:00 2001 From: Alex Florisca Date: Wed, 12 Jul 2023 13:03:06 +0100 Subject: [PATCH 2/2] Remove unecessary selector --- .../cart/inner-blocks/cart-express-payment-block/editor.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/js/blocks/cart/inner-blocks/cart-express-payment-block/editor.scss b/assets/js/blocks/cart/inner-blocks/cart-express-payment-block/editor.scss index 5563654d140..24a209975d4 100644 --- a/assets/js/blocks/cart/inner-blocks/cart-express-payment-block/editor.scss +++ b/assets/js/blocks/cart/inner-blocks/cart-express-payment-block/editor.scss @@ -13,7 +13,7 @@ } } -.block-editor-block-list__layout .wp-block-woocommerce-proceed-to-checkout-block { +.wp-block-woocommerce-proceed-to-checkout-block { margin-bottom: 28px; margin-top: 28px; }