From ad51b7fb0e1540490408e4dffaade46e42faaec4 Mon Sep 17 00:00:00 2001 From: Mykola Fant Date: Wed, 27 Sep 2023 16:39:35 +0300 Subject: [PATCH] add carousel outline --- packages/ui/src/Carousel.module.scss | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/packages/ui/src/Carousel.module.scss b/packages/ui/src/Carousel.module.scss index 2bd1e02ff..97cecf7c3 100644 --- a/packages/ui/src/Carousel.module.scss +++ b/packages/ui/src/Carousel.module.scss @@ -8,24 +8,25 @@ margin-bottom: c.$grid * 2; } +.nextButtonClassName { + left: c.$grid * 12; +} + +.prevButtonClassName { + right: c.$grid * 12; +} + .nextButtonClassName, .prevButtonClassName { padding: 0 !important; position: relative; height: 40px; + &:focus { @include h.outlineAround; } } -.nextButtonClassName { - left: c.$grid * 12; -} - -.prevButtonClassName { - right: c.$grid * 12; -} - .pagingDotsClassName { position: relative; top: c.$grid * 7;