diff options
Diffstat (limited to 'client/src')
-rw-r--r-- | client/src/components/Carousel.css | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/client/src/components/Carousel.css b/client/src/components/Carousel.css index e2fbc1c..43f0bcf 100644 --- a/client/src/components/Carousel.css +++ b/client/src/components/Carousel.css @@ -1,12 +1,21 @@ .carousel-container { height: 100%; width: 100%; + @media(max-width: 768px) { + display: flex; + justify-content: center; + } } .carousel { overflow: hidden; height: 100%; width: 100%; + @media(max-width: 768px) { + width: 90%; + display: flex; + align-items: center; + } } .carousel-slide { @@ -21,4 +30,8 @@ width: 100%; max-height: 100vh; object-fit: cover; + @media(max-width: 768px) { + object-fit: contain; + border-radius: 16px; + } } |