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

Commit

Permalink
Fix font weight of cart totals title in site editor (#12051)
Browse files Browse the repository at this point in the history
* Fix font weight of cart totals title in site editor

* Set explicit font-weight for th in cart line items
  • Loading branch information
nielslange authored Dec 7, 2023
1 parent 7ee3f87 commit 22793eb
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ table.wc-block-cart-items {
width: 100px;
text-align: right;
}
th {
font-weight: 700;
}
}
.wc-block-cart-items__row {
.wc-block-cart-item__image img {
Expand Down
6 changes: 5 additions & 1 deletion assets/js/blocks/cart/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -125,10 +125,14 @@
@include text-heading();
@include font-size( smaller );
display: block;
font-weight: 600;
font-weight: 700;
padding: 0.25rem 0;
text-align: right;
text-transform: uppercase;

textarea {
font-weight: 700; // Ensure correct font-weight in site-editor.
}
}

.wc-block-components-sidebar {
Expand Down

0 comments on commit 22793eb

Please sign in to comment.