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

Commit

Permalink
Update filter button styles
Browse files Browse the repository at this point in the history
  • Loading branch information
albarin committed Aug 22, 2022
1 parent d8eba08 commit 0fefbce
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 4 deletions.
7 changes: 7 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,10 @@
}
}
}

.editor-styles-wrapper .wc-block-attribute-filter__button.wc-block-attribute-filter__button,
.wc-block-attribute-filter__button.wc-block-attribute-filter__button {
padding: $gap-smaller $gap;
font-size: 0.875em;
border-radius: 2px;
}
7 changes: 7 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,10 @@
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: $gap-smaller $gap;
font-size: 0.875em;
border-radius: 2px;
}
12 changes: 8 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,11 @@
}
}
}

.editor-styles-wrapper .wc-block-stock-filter .wp-block-button__link,
.wc-block-stock-filter .wc-block-stock-filter__button {
margin-top: $gap-smaller;
padding: $gap-smaller $gap;
font-size: 0.875em;
border-radius: 2px;
}

0 comments on commit 0fefbce

Please sign in to comment.