From 30302730352c8944b4dd013fe3dc42e524d84dae Mon Sep 17 00:00:00 2001 From: William Diakite Date: Wed, 11 Oct 2023 10:07:55 -0400 Subject: [PATCH] handle responsive --- src/lib/components/Carousel.svelte | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/lib/components/Carousel.svelte b/src/lib/components/Carousel.svelte index 9ffe15b..dc4dd3d 100644 --- a/src/lib/components/Carousel.svelte +++ b/src/lib/components/Carousel.svelte @@ -198,4 +198,10 @@ background-color: var(--clr-accent); border: solid 1px var(--clr-accent); } + + @media screen and (max-width: 1024px) { + .banner { + width: 50%; + } + }