From 206d40c0a4c2d4cff7d2d5cbeafe521bf95baf0a Mon Sep 17 00:00:00 2001 From: Lim Chee Aun <cheeaun@gmail.com> Date: Fri, 23 Dec 2022 09:17:41 +0800 Subject: [PATCH] Snap stop need to be the children, not parent --- src/app.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app.css b/src/app.css index 8b506736..e3732225 100644 --- a/src/app.css +++ b/src/app.css @@ -439,13 +439,13 @@ a.mention span { /* scroll-behavior: smooth; */ scrollbar-width: none; overscroll-behavior: contain; - scroll-snap-stop: always; } .carousel::-webkit-scrollbar { display: none; } .carousel > * { scroll-snap-align: center; + scroll-snap-stop: always; flex-shrink: 0; display: flex; justify-content: center;