From 9558b09fc22cbff12fc121c5e03075fe6bcf26d4 Mon Sep 17 00:00:00 2001 From: Ward Truyen Date: Thu, 21 Nov 2024 14:13:12 +0100 Subject: [PATCH] Chore: fixed resizing carrousel --- src/css/main.css | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/src/css/main.css b/src/css/main.css index e683ab6..e5c2204 100644 --- a/src/css/main.css +++ b/src/css/main.css @@ -168,12 +168,28 @@ html.theme-dark { margin: 0 auto; } -@media only screen and (max-width: 600px) { +@media only screen and (max-width: 800px){ + #image-carousel { + width: 40rem; + } +} +@media only screen and (max-height: 800px){ + #image-carousel { + width: 40rem; + } +} + +@media only screen and (max-width: 600px){ #image-carousel { width: 25rem; } } - +@media only screen and (max-height: 600px){ + #image-carousel { + width: 25rem; + } +} + @media(orientation: portrait) { main { margin-top: 0;