From dc06321a2ceefe6404d409380f46e915aa30f31e Mon Sep 17 00:00:00 2001 From: Max Morgan Date: Fri, 28 Jun 2024 11:09:08 -0400 Subject: [PATCH 1/2] Fix stacking context --- src/components/organisms/Carousel/Carousel.css | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/components/organisms/Carousel/Carousel.css b/src/components/organisms/Carousel/Carousel.css index e69de29b..31cdfeef 100644 --- a/src/components/organisms/Carousel/Carousel.css +++ b/src/components/organisms/Carousel/Carousel.css @@ -0,0 +1,11 @@ +.carousel-item { + z-index: 1; +} + +.carousel-item.active { + z-index: 2; +} + +.carousel-control-prev,.carousel-control-next { + z-index: 3; +} \ No newline at end of file From e4f6dccc4559a05201bcf1347cd88de27243332f Mon Sep 17 00:00:00 2001 From: Max Morgan Date: Fri, 28 Jun 2024 11:14:08 -0400 Subject: [PATCH 2/2] Format --- src/components/organisms/Carousel/Carousel.css | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/components/organisms/Carousel/Carousel.css b/src/components/organisms/Carousel/Carousel.css index 31cdfeef..dc948720 100644 --- a/src/components/organisms/Carousel/Carousel.css +++ b/src/components/organisms/Carousel/Carousel.css @@ -6,6 +6,7 @@ z-index: 2; } -.carousel-control-prev,.carousel-control-next { +.carousel-control-prev, +.carousel-control-next { z-index: 3; -} \ No newline at end of file +}