Skip to content

Commit

Permalink
style: wrap item-counter changes in forversion4.2 (#13907)
Browse files Browse the repository at this point in the history
  • Loading branch information
BenjaminEmiliani authored Oct 7, 2021
1 parent e53fb3e commit b8af7ca
Showing 1 changed file with 16 additions and 3 deletions.
19 changes: 16 additions & 3 deletions projects/storefrontstyles/scss/components/cart/_item-counter.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
%cx-item-counter {
width: 146px;
@include forVersion(4.2) {
width: 146px;
}

input {
text-align: center;
Expand Down Expand Up @@ -37,7 +39,13 @@
border-width: 0 1px;
padding: 12px 9px;
max-height: 48px;
width: 46%;
min-width: 48px;
max-width: 78px;

@include forVersion(4.2) {
min-width: 46%;
max-width: 46%;
}

&:focus {
background: var(--cx-color-background);
Expand All @@ -52,7 +60,12 @@
cursor: pointer;
margin: 0;
max-height: 48px;
width: 27%;
min-width: 40px;

@include forVersion(4.2) {
min-width: 27%;
max-width: 27%;
}

@include type(3);

Expand Down

0 comments on commit b8af7ca

Please sign in to comment.