Commit dfcc5eb1faf for woocommerce
commit dfcc5eb1fafa52425ca2f5d4d1d05cb6be8feec4
Author: Albert Juhé Lluveras <contact@albertjuhe.com>
Date: Thu Oct 8 15:38:54 2026 +0200
Decrease top margin in Checkout block (#69560)
* Add changelog
* Decrease top margin in Checkout block
diff --git a/plugins/woocommerce/changelog/fix-remove-checkout-unnecessary-spacing b/plugins/woocommerce/changelog/fix-remove-checkout-unnecessary-spacing
new file mode 100644
index 00000000000..1a4a16b8ee3
--- /dev/null
+++ b/plugins/woocommerce/changelog/fix-remove-checkout-unnecessary-spacing
@@ -0,0 +1,4 @@
+Significance: patch
+Type: update
+
+Decrease top margin in Checkout block
diff --git a/plugins/woocommerce/client/blocks/assets/js/blocks/checkout/inner-blocks/checkout-order-summary-block/style.scss b/plugins/woocommerce/client/blocks/assets/js/blocks/checkout/inner-blocks/checkout-order-summary-block/style.scss
index a693ae25a8a..783f9770169 100644
--- a/plugins/woocommerce/client/blocks/assets/js/blocks/checkout/inner-blocks/checkout-order-summary-block/style.scss
+++ b/plugins/woocommerce/client/blocks/assets/js/blocks/checkout/inner-blocks/checkout-order-summary-block/style.scss
@@ -20,7 +20,9 @@
}
.wc-block-components-checkout-order-summary__title {
- margin-top: $gap;
+ @include breakpoint(">782px") {
+ margin-top: $gap;
+ }
display: flex;
justify-content: space-between;
align-items: center;
diff --git a/plugins/woocommerce/client/blocks/assets/js/blocks/checkout/styles/style.scss b/plugins/woocommerce/client/blocks/assets/js/blocks/checkout/styles/style.scss
index 15b35b36dab..3d6be09742b 100644
--- a/plugins/woocommerce/client/blocks/assets/js/blocks/checkout/styles/style.scss
+++ b/plugins/woocommerce/client/blocks/assets/js/blocks/checkout/styles/style.scss
@@ -1,6 +1,5 @@
.wp-block-woocommerce-checkout {
margin: 0;
- padding-top: $gap-large;
// Don't remove this, it marks the container for container queries used in inner blocks.
container-type: inline-size;