Skip to content

Commit d2ae4b1

Browse files
committed
[80] Restore dot gap
1 parent bddf552 commit d2ae4b1

1 file changed

Lines changed: 8 additions & 2 deletions

File tree

src/components/ui/Slider/Slider.css

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,17 @@
33
box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.3), 0 0 0 4px rgba(255, 255, 255, 0.8);
44
}
55

6+
.slick-dots li {
7+
margin: 0 !important;
8+
}
9+
610
.hero-slider {
711
--dot-size: 1rem;
812
--dot-gap: 0.75rem;
913
--animation-duration: 12s;
1014
--dot-color: white;
15+
--dot-bottom-min: 1rem;
16+
--dot-bottom-max: 4.5rem;
1117

1218
height: auto;
1319
max-height: calc(100vh - 4rem);
@@ -25,9 +31,9 @@
2531

2632
.hero-slider .slick-dots {
2733
position: absolute;
28-
inset-block-end: clamp(1rem, 5vw, 4.5rem);
34+
inset-block-end: clamp(var(--dot-bottom-min), 5vw, var(--dot-bottom-max));
2935
z-index: 1;
30-
display: flex;
36+
display: flex !important;
3137
gap: var(--dot-gap);
3238
justify-content: center;
3339
width: 100%;

0 commit comments

Comments
 (0)