Skip to content

Commit eb4d887

Browse files
authored
Merge pull request #246 from elfman/issue132
Fix issue #132
2 parents 0688f8f + a6c2cf3 commit eb4d887

File tree

3 files changed

+20
-2
lines changed

3 files changed

+20
-2
lines changed

src/shared/components/challenge-listing/Filters/ChallengeFilters.scss

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@
1010
padding: 0 $base-unit * 4;
1111

1212
@include xxs-to-sm {
13+
display: flex;
14+
justify-content: space-between;
15+
flex-wrap: wrap;
1316
padding: 0 $base-unit * 3;
1417
}
1518
}
@@ -38,7 +41,7 @@
3841
height: 60px;
3942

4043
@include xxs-to-sm {
41-
height: 40px;
44+
height: auto;
4245
}
4346
}
4447

src/shared/components/challenge-listing/Filters/FiltersCardsType/style.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,10 @@ $type-radius-4: $corner-radius * 2;
2727
height: $type-space-40;
2828
line-height: $type-space-40;
2929
margin-right: $type-space-20;
30+
31+
&:last-child {
32+
margin-right: $type-space-20 - 5;
33+
}
3034
}
3135

3236
&:visited {

src/shared/components/challenge-listing/Filters/FiltersPanel/style.scss

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,8 @@ $panel-radius-4: $corner-radius * 2;
8080
display: flex;
8181
justify-content: center;
8282
position: relative;
83+
right: 0;
84+
top: $panel-space-30;
8385
width: 100%;
8486
padding-left: 0;
8587
border-left: none;
@@ -130,6 +132,7 @@ $panel-radius-4: $corner-radius * 2;
130132

131133
@include xxs-to-sm {
132134
display: block;
135+
margin-right: 0;
133136
}
134137
}
135138

@@ -154,6 +157,14 @@ $panel-radius-4: $corner-radius * 2;
154157
&.left-label {
155158
min-width: 58px;
156159
}
160+
161+
@include xxs-to-sm {
162+
text-align: left;
163+
164+
&.left-label {
165+
min-width: 96px;
166+
}
167+
}
157168
}
158169

159170
:global(.Select) {
@@ -373,7 +384,7 @@ $panel-radius-4: $corner-radius * 2;
373384
.Select-value-icon {
374385
position: absolute;
375386
right: 0;
376-
top: 0;
387+
top: 4px;
377388
padding: 0 $panel-space-7;
378389
font-size: 14px;
379390
border: none;

0 commit comments

Comments
 (0)