Skip to content

Commit

Permalink
Make Active filters texts bigger (woocommerce#7087)
Browse files Browse the repository at this point in the history
  • Loading branch information
Aljullu authored and senadir committed Nov 12, 2022
1 parent 1a071c1 commit b0955d5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 9 deletions.
8 changes: 3 additions & 5 deletions assets/js/base/components/chip/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -28,29 +28,27 @@
&.wc-block-components-chip--radius-large {
border-radius: 2em;
padding-left: 0.75em;
padding-right: 0.75em;
padding-right: 0.25em;
}
.wc-block-components-chip__text {
@include font-size(smaller);
flex-grow: 1;
}
&.is-removable .wc-block-components-chip__text {
padding-right: 0.25em;
padding-right: 0.5em;
}
.wc-block-components-chip__remove {
@include font-size(smaller);
background: $gray-200;
border: 0;
border-radius: 25px;
appearance: none;
padding: 0;
height: 16px;
width: 16px;
line-height: 16px;
margin: 0;
}

.wc-block-components-chip__remove-icon {
vertical-align: middle;
fill: $gray-900;
}
}
Expand Down
7 changes: 3 additions & 4 deletions assets/js/blocks/active-filters/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
overflow: hidden;

.wc-block-active-filters__clear-all {
@include font-size(smaller);
@include font-size(small);
border: none;
margin-top: 15px;
padding: 0;
Expand Down Expand Up @@ -73,7 +73,6 @@
}

.wc-block-active-filters__list-item-name {
@include font-size(smaller);
display: flex;
align-items: center;
position: relative;
Expand All @@ -86,8 +85,9 @@
appearance: none;
height: 16px;
width: 16px;
line-height: 16px;
padding: 0;
margin: 0 16px 0 0;
margin: 0 0.5em 0 0;
color: currentColor;

&:hover {
Expand All @@ -111,7 +111,6 @@
}

.wc-block-components-chip {
@include font-size(small);
margin-top: em($gap-small * 0.25);
margin-bottom: em($gap-small * 0.25);
}
Expand Down

0 comments on commit b0955d5

Please sign in to comment.