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

Commit

Permalink
Fix TT4 mobile styling for cart and notes field on checkout (#11742)
Browse files Browse the repository at this point in the history
* Add box-sizing to textarea

* Fix cart mobile border
  • Loading branch information
mikejolley authored Nov 13, 2023
1 parent e3801ba commit b14ec46
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ table.wc-block-cart-items {
.wc-block-cart-item__remove-link {
display: none;
}
&:not(.wc-block-mini-cart-items) {
&:not(.wc-block-mini-cart-items):not(:last-child) {
.wc-block-cart-items__row {
@include with-translucent-border( 0 0 1px );
}
Expand Down
3 changes: 3 additions & 0 deletions assets/js/blocks/cart/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,9 @@
display: none;
}
}
table.wc-block-cart-items {
margin: 0;
}
}

.is-medium,
Expand Down
1 change: 1 addition & 0 deletions packages/components/textarea/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
margin: 0;
padding: em($gap-small) $gap;
width: 100%;
box-sizing: border-box;

.has-dark-controls & {
background-color: $input-background-dark;
Expand Down

0 comments on commit b14ec46

Please sign in to comment.