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

Make Active filters texts bigger #7087

Merged
merged 1 commit into from
Sep 9, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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