diff --git a/assets/js/base/components/cart-checkout/cart-line-items-table/style.scss b/assets/js/base/components/cart-checkout/cart-line-items-table/style.scss index 3d92b32bf10..0d34496c7c1 100644 --- a/assets/js/base/components/cart-checkout/cart-line-items-table/style.scss +++ b/assets/js/base/components/cart-checkout/cart-line-items-table/style.scss @@ -5,7 +5,7 @@ table.wc-block-cart-items td { background: none !important; // Remove borders on default themes. border: 0; - margin: 0 0 2em; + margin: 0; } .editor-styles-wrapper table.wc-block-cart-items, diff --git a/assets/js/blocks/cart/style.scss b/assets/js/blocks/cart/style.scss index 7fc38b3db23..6098c4a132d 100644 --- a/assets/js/blocks/cart/style.scss +++ b/assets/js/blocks/cart/style.scss @@ -12,13 +12,17 @@ } } } -} -.wc-block-cart { .wc-block-components-totals-taxes, .wc-block-components-totals-footer-item { margin: 0; } + + table.wc-block-cart-items, + table.wc-block-cart-items th, + table.wc-block-cart-items td { + margin: 0 0 2em; + } } // Loading placeholder state.