From f891e7d486c315008721d8537a375719d8b82174 Mon Sep 17 00:00:00 2001 From: lscambo13 Date: Sun, 5 Jul 2026 20:35:16 +0530 Subject: [PATCH] New: Limited the scroll snapping behaviour to only phones --- Theme/ElegantFin-theme-nightly.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Theme/ElegantFin-theme-nightly.css b/Theme/ElegantFin-theme-nightly.css index 179dae6..ec928e2 100644 --- a/Theme/ElegantFin-theme-nightly.css +++ b/Theme/ElegantFin-theme-nightly.css @@ -972,8 +972,6 @@ select { padding: var(--padding); transition: width 0.5s; box-sizing: content-box; - scroll-snap-align: center; - scroll-snap-stop: always; } /* this makes the cards bigger and center aligned on older browsers */ @@ -985,6 +983,8 @@ select { .layout-mobile .card { --padding: 1px; + scroll-snap-align: center; + scroll-snap-stop: always; } /* this makes the card sizes smaller when phone is in landscape mode */