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

Commit

Permalink
Fix the price filter setting label style
Browse files Browse the repository at this point in the history
  • Loading branch information
albarin committed Aug 25, 2022
1 parent 9753089 commit 1f1c998
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
1 change: 1 addition & 0 deletions assets/js/blocks/price-filter/edit.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ export default function ( {
return (
<InspectorControls key="inspector">
<PanelBody
className="wc-block-price-filter__settings"
title={ __( 'Settings', 'woo-gutenberg-products-block' ) }
>
<ToggleGroupControl
Expand Down
14 changes: 11 additions & 3 deletions assets/js/blocks/price-filter/editor.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,11 @@
&::-webkit-slider-thumb {
pointer-events: none;
}

&::-moz-range-thumb {
pointer-events: none;
}

&::-ms-thumb {
pointer-events: none;
}
Expand All @@ -23,9 +25,11 @@
}
}

.components-base-control__label {
text-transform: uppercase;
@include font-size(small);
.wc-block-price-filter__settings {
.components-base-control__label {
text-transform: uppercase;
@include font-size(small);
}
}

.wc-block-price-slider {
Expand All @@ -35,13 +39,16 @@
padding-bottom: 1em;
margin-bottom: 2em;
}

.components-placeholder__label svg {
fill: currentColor;
margin-right: 1ch;
}

.components-placeholder__fieldset {
display: block; /* Disable flex box */
}

.wc-block-price-slider__add-product-button {
margin: 0 0 1em;
vertical-align: middle;
Expand All @@ -54,6 +61,7 @@
vertical-align: middle;
}
}

.wc-block-price-slider__read_more_button {
display: block;
margin-bottom: 1em;
Expand Down

0 comments on commit 1f1c998

Please sign in to comment.