Skip to content

Commit c26febe

Browse files
hom3mad3goapunk
authored andcommitted
scss/components/_poll.scss: reduce slider arrow size
1 parent 010d5f4 commit c26febe

File tree

1 file changed

+9
-13
lines changed

1 file changed

+9
-13
lines changed

Diff for: meinberlin/assets/scss/components/_poll.scss

+9-13
Original file line numberDiff line numberDiff line change
@@ -209,8 +209,8 @@ $checkbox-size: 20px;
209209
font-size: $font-size-xs;
210210
color: $gray-lighter;
211211
position: absolute;
212-
bottom: 1.75 * $spacer; // to allign with arrows
213-
left: $spacer;
212+
bottom: 1rem;
213+
right: 6rem;
214214
}
215215

216216
.poll-slider {
@@ -220,7 +220,7 @@ $checkbox-size: 20px;
220220
// slick overwrites - nested for specificity
221221
.slick-prev {
222222
left: revert !important;
223-
right: 5 * $spacer !important;
223+
right: 3.5 * $spacer !important;
224224
}
225225

226226
.slick-next {
@@ -235,8 +235,8 @@ $checkbox-size: 20px;
235235
top: revert;
236236
bottom: 0;
237237
text-align: center;
238-
width: 40px;
239-
height: 40px;
238+
width: 24px;
239+
height: 24px;
240240
border-radius: 100%;
241241
z-index: 1; // for when tile links overlap
242242

@@ -248,12 +248,13 @@ $checkbox-size: 20px;
248248
}
249249

250250
&:before {
251+
display: flex;
252+
justify-content: center;
253+
align-items: center;
251254
color: $body-bg;
252255
opacity: 1;
253256
font-family: "Font Awesome 6 Free", sans-serif;
254-
font-weight: 900;
255-
font-size: $font-size-xxl;
256-
line-height: 1.6rem;
257+
font-size: 18px;
257258
}
258259
}
259260

@@ -285,9 +286,4 @@ $checkbox-size: 20px;
285286
left: revert;
286287
right: 8.5 * $spacer;
287288
}
288-
289-
.poll-slider__count {
290-
left: revert;
291-
right: 2 * $spacer;
292-
}
293289
}

0 commit comments

Comments
 (0)