Commit dadb9bd7479 for woocommerce
commit dadb9bd7479595e374f7abf9eb1ddd8509fb9e79
Author: Karol Manijak <20098064+kmanijak@users.noreply.github.com>
Date: Mon Apr 13 14:03:37 2026 +0200
Fix customer account block icon padding for consistent spacing (#64123)
* Fix customer account icon padding to use consistent spacing
* Add changefile(s) from automation for the following project(s): woocommerce
---------
Co-authored-by: woocommercebot <woocommercebot@users.noreply.github.com>
diff --git a/plugins/woocommerce/changelog/64123-fix-customer-account-icon-spacing b/plugins/woocommerce/changelog/64123-fix-customer-account-icon-spacing
new file mode 100644
index 00000000000..fa4ed3556f1
--- /dev/null
+++ b/plugins/woocommerce/changelog/64123-fix-customer-account-icon-spacing
@@ -0,0 +1,4 @@
+Significance: patch
+Type: fix
+
+Fix inconsistent icon spacing in the customer account block header on mobile.
\ No newline at end of file
diff --git a/plugins/woocommerce/client/blocks/assets/js/blocks/customer-account/style.scss b/plugins/woocommerce/client/blocks/assets/js/blocks/customer-account/style.scss
index 45f01d87d09..c553ff6c3ce 100644
--- a/plugins/woocommerce/client/blocks/assets/js/blocks/customer-account/style.scss
+++ b/plugins/woocommerce/client/blocks/assets/js/blocks/customer-account/style.scss
@@ -16,10 +16,6 @@
}
:where(.wp-block-woocommerce-customer-account) {
- --wc-customer-account-padding: var(
- --wp--preset--spacing--20,
- #{em($gap-smaller)}
- );
--wc-customer-account-viewport-gutter: var(--wp--preset--spacing--20, 16px);
--wc-customer-account-dropdown-padding-inline: var(
--wp--preset--spacing--30,
@@ -57,7 +53,7 @@
font-size: inherit;
font-weight: inherit;
line-height: 1;
- padding: var(--wc-customer-account-padding);
+ padding: em($gap-smaller);
text-decoration: none;
white-space: nowrap;