From d35f714c0933648ad44b941e3adfaaea85de90ce Mon Sep 17 00:00:00 2001 From: David Ball Date: Thu, 18 Jul 2024 12:23:58 -0400 Subject: [PATCH] Fixed accidental highlighting on image carousels. --- src/components/carousel-swiper.css | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/components/carousel-swiper.css b/src/components/carousel-swiper.css index 77627f6..1a6ab0c 100644 --- a/src/components/carousel-swiper.css +++ b/src/components/carousel-swiper.css @@ -1,5 +1,5 @@ -:root { -} +/* :root { +} */ /* .swiper-scrollbar.swiper-scrollbar-horizontal { bottom: 0; height: 40px; @@ -35,6 +35,11 @@ /* background-color: coral; */ } +.carousel-swiper .swiper-wrapper::selection, .carousel-swiper .overlay::selection, .carousel-swiper .swiper-slide::selection, .carousel-swiper .carousel-img::selection { + background-color: transparent; + color: transparent; +} + .carousel-swiper .overlay { z-index: -1000; position: absolute;