Commit 3bc28db24f2 for woocommerce
commit 3bc28db24f22dbe43100cea32ef698921438012c
Author: Karol Manijak <20098064+kmanijak@users.noreply.github.com>
Date: Fri Oct 16 11:46:32 2026 +0200
Restore Product Template default spacing specificity (#69837)
Restore Product Template spacing reset specificity
diff --git a/plugins/woocommerce/client/blocks/assets/js/blocks/product-template/style.scss b/plugins/woocommerce/client/blocks/assets/js/blocks/product-template/style.scss
index 49584f53b83..38b1b8b7fdd 100644
--- a/plugins/woocommerce/client/blocks/assets/js/blocks/product-template/style.scss
+++ b/plugins/woocommerce/client/blocks/assets/js/blocks/product-template/style.scss
@@ -9,15 +9,12 @@ $min-product-width: 150px;
}
}
-:where(.wc-block-product-template) {
+.wc-block-product-template {
margin-top: 0;
margin-bottom: 0;
- padding: 0;
-}
-
-.wc-block-product-template {
max-width: 100%;
list-style: none;
+ padding: 0;
// Unset background colors that can be inherited from Global Styles with extra specificity.
&.wc-block-product-template {