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

Commit d59f012

Browse files
Aljullumikejolley
authored andcommitted
Fix price slider layout in narrow columns
1 parent 8cffd0a commit d59f012

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

assets/js/base/components/price-slider/style.scss

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -70,17 +70,14 @@
7070

7171
.wc-block-price-filter__controls {
7272
display: flex;
73-
flex-flow: row nowrap;
74-
justify-content: flex-start;
75-
align-items: center;
7673
margin: 0 0 20px;
7774

7875
.wc-block-price-filter__amount {
7976
margin: 0;
8077
border-radius: 4px;
8178
width: auto;
82-
flex-grow: 2;
8379
max-width: 100px;
80+
min-width: 0;
8481

8582
&.wc-block-price-filter__amount--min {
8683
margin-right: 10px;
@@ -89,17 +86,19 @@
8986
margin-left: auto;
9087
}
9188
}
92-
93-
.wc-block-price-filter__button {
94-
margin-left: auto;
95-
}
9689
}
9790
&.wc-block-price-filter--has-filter-button {
9891
.wc-block-price-filter__controls {
9992
justify-content: flex-end;
10093

10194
.wc-block-price-filter__amount.wc-block-price-filter__amount--max {
10295
margin-left: 0;
96+
margin-right: 10px;
97+
}
98+
99+
.wc-block-price-filter__button {
100+
margin-left: auto;
101+
white-space: nowrap;
103102
}
104103
}
105104
}

0 commit comments

Comments
 (0)