From 8889ba43f23f886028add8984c08f9a7722bccad Mon Sep 17 00:00:00 2001 From: Alexandre Lara Date: Wed, 12 Apr 2023 14:12:54 -0300 Subject: [PATCH] Fix inspector control border for the Customer Account block (https://github.com/woocommerce/woocommerce-blocks/pull/9008) --- .../assets/js/blocks/customer-account/editor.scss | 4 ---- .../assets/js/blocks/customer-account/sidebar-settings.tsx | 4 +++- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/plugins/woocommerce-blocks/assets/js/blocks/customer-account/editor.scss b/plugins/woocommerce-blocks/assets/js/blocks/customer-account/editor.scss index 92974fb7555..29d5256e9bc 100644 --- a/plugins/woocommerce-blocks/assets/js/blocks/customer-account/editor.scss +++ b/plugins/woocommerce-blocks/assets/js/blocks/customer-account/editor.scss @@ -6,7 +6,3 @@ .block-editor-block-card + div > .wc-block-editor-customer-account__link { padding: 0 $gap $gap 52px; } -/* In tabbed sidebar (ie: WP >=6.2) */ -.wc-block-editor-customer-account__link { - padding: $gap; -} diff --git a/plugins/woocommerce-blocks/assets/js/blocks/customer-account/sidebar-settings.tsx b/plugins/woocommerce-blocks/assets/js/blocks/customer-account/sidebar-settings.tsx index d58e8d28408..9af6529c282 100644 --- a/plugins/woocommerce-blocks/assets/js/blocks/customer-account/sidebar-settings.tsx +++ b/plugins/woocommerce-blocks/assets/js/blocks/customer-account/sidebar-settings.tsx @@ -66,7 +66,9 @@ export const BlockSettings = ( { return ( - + + +