From fa593359bfdb9ebe4ea618b6fd9e5d6e717f38e7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Albert=20Juh=C3=A9=20Lluveras?= Date: Mon, 7 Sep 2020 17:39:53 +0200 Subject: [PATCH] Fix Cart&Checkout layout broken in some themes (https://github.com/woocommerce/woocommerce-blocks/pull/3111) --- .../assets/js/base/components/sidebar-layout/style.scss | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plugins/woocommerce-blocks/assets/js/base/components/sidebar-layout/style.scss b/plugins/woocommerce-blocks/assets/js/base/components/sidebar-layout/style.scss index 756dcc1f886..6095ef11a57 100644 --- a/plugins/woocommerce-blocks/assets/js/base/components/sidebar-layout/style.scss +++ b/plugins/woocommerce-blocks/assets/js/base/components/sidebar-layout/style.scss @@ -5,6 +5,7 @@ position: relative; .wc-block-components-main { + box-sizing: border-box; margin: 0; padding-right: percentage($gap-largest / 1060px); // ~1060px is the default width of the content area in Storefront. width: 65%; @@ -12,6 +13,7 @@ } .wc-block-components-sidebar { + box-sizing: border-box; margin: 0; padding-left: percentage($gap-large / 1060px); width: 35%;