From 5de45fe885e2ecdb89788f445716143f28c2e67e Mon Sep 17 00:00:00 2001 From: Lim Chee Aun Date: Tue, 28 Mar 2023 21:25:41 +0800 Subject: [PATCH] make scrolling on carousel smoothhhher Only for fine cursors or hover pointers --- src/app.css | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/app.css b/src/app.css index 3e59e53f..a19a8e9f 100644 --- a/src/app.css +++ b/src/app.css @@ -660,6 +660,11 @@ a[href^='http'][rel*='nofollow']:visited:not(:has(div)) { counter-increment: index; position: relative; } +@media (hover: hover) or (pointer: fine) { + .status-carousel ul > li { + scroll-snap-stop: normal; + } +} .status-carousel .content-container .content:only-child { font-size: calc(100% + 25% * max(2 - var(--content-text-weight), 0)); }