Skip to content
This repository has been archived by the owner on Feb 23, 2024. It is now read-only.

Commit

Permalink
Mini Cart: Remove excessive margin under cart items (#9051)
Browse files Browse the repository at this point in the history
  • Loading branch information
Aljullu authored Apr 17, 2023
1 parent 873a24b commit 08278f4
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
8 changes: 6 additions & 2 deletions assets/js/blocks/cart/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 08278f4

Please sign in to comment.