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

Update filter button styles #6958

Merged
merged 6 commits into from
Aug 23, 2022
Merged
Show file tree
Hide file tree
Changes from 2 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
6 changes: 6 additions & 0 deletions assets/js/blocks/attribute-filter/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -67,3 +67,9 @@
}
}
}

.editor-styles-wrapper .wc-block-attribute-filter__button.wc-block-attribute-filter__button,
.wc-block-attribute-filter__button.wc-block-attribute-filter__button {
padding: em($gap-smaller) em($gap);
@include font-size(small);
}
6 changes: 6 additions & 0 deletions assets/js/blocks/price-filter/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,9 @@
border-style: solid;
}
}

.editor-styles-wrapper .wc-block-price-filter__button.wc-block-components-price-slider__button,
.wc-block-price-filter__button.wc-block-components-price-slider__button {
padding: em($gap-smaller) em($gap);
@include font-size(small);
}
11 changes: 7 additions & 4 deletions assets/js/blocks/stock-filter/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,6 @@
opacity: 0.6;
}

.wc-block-stock-filter__button {
margin-top: $gap-smaller;
}

.wc-block-stock-filter__actions {
align-items: center;
display: flex;
Expand All @@ -39,3 +35,10 @@
}
}
}

.editor-styles-wrapper .wc-block-stock-filter .wp-block-button__link,
.wc-block-stock-filter .wc-block-stock-filter__button {
albarin marked this conversation as resolved.
Show resolved Hide resolved
margin-top: em($gap-smaller);
padding: em($gap-smaller) em($gap);
@include font-size(small);
}