Skip to content

Commit

Permalink
KAW-7686 Fix position of the dots navigation for full-width carousel
Browse files Browse the repository at this point in the history
  • Loading branch information
TomaszDziezykNetcentric committed Aug 6, 2024
1 parent 5b146c0 commit 512cd67
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion blocks/carousel/carousel.css
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@
flex-direction: column;
align-items: center;
height: 100%;
box-sizing: border-box;
}

.carousel-arrow-buttons button:first-of-type {
Expand Down Expand Up @@ -91,7 +92,7 @@
}

.carousel-nav-button {
background-color: #fff;
background-color: inherit;
width: 10px;
height: 10px;
border-radius: 50%;
Expand Down Expand Up @@ -131,6 +132,18 @@
min-height: 300px;
}

.carousel.carousel.full-width .carousel-nav {
position: absolute;
bottom: 0;
width: 100%;
margin: 0;
margin: 30px 0;
}

.carousel.carousel.full-width .carsousel-slide-content {
padding-bottom: 80px;
}

@media (width >= 768px) {
.carousel {
--slide-gap: 30px;
Expand Down

0 comments on commit 512cd67

Please sign in to comment.