From eb459dd2a6f21e78bcf1e9e11634e0be7ac8a9b4 Mon Sep 17 00:00:00 2001 From: Lucio Giannotta Date: Sat, 2 Sep 2023 22:07:01 +0800 Subject: [PATCH] Fix customer account icon not scaling in certain environments (#10533) Customer Account block icon size is based on the parent `font-size` in order to make sure they stay harmoniously together. However, the `box-sizing` could be set by some other actor and mess with the size of the icon. --- assets/js/blocks/customer-account/style.scss | 1 + 1 file changed, 1 insertion(+) diff --git a/assets/js/blocks/customer-account/style.scss b/assets/js/blocks/customer-account/style.scss index 50fd3ba3d54..e804854d55c 100644 --- a/assets/js/blocks/customer-account/style.scss +++ b/assets/js/blocks/customer-account/style.scss @@ -35,6 +35,7 @@ } .wc-block-customer-account__account-icon { + box-sizing: content-box !important; height: em(23px); width: em(23px); padding: em($gap-smaller);