Skip to content

Commit a0bb027

Browse files
committed
feat: add background to carousel nav buttons
1 parent fa8168b commit a0bb027

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

packages/pluggableWidgets/carousel-web/src/ui/Carousel.scss

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,15 @@
2323
align-items: center;
2424
}
2525

26-
.swiper-button-next:focus {
27-
outline: 2px solid #264ae5;
28-
outline-offset: 2px;
26+
.swiper-button-next,
27+
.swiper-button-prev {
28+
--swiper-navigation-size: 24px;
29+
border-radius: 50%;
30+
background-color: rgba(245, 245, 245, 0.7);
31+
padding: 2em;
2932
}
3033

34+
.swiper-button-next:focus,
3135
.swiper-button-prev:focus {
3236
outline: 2px solid #264ae5;
3337
outline-offset: 2px;

0 commit comments

Comments
 (0)