From c9dc9b526072239e2a630f1527315426c6daeaa3 Mon Sep 17 00:00:00 2001 From: 30 seconds bot <35068020+30secondsofcode@users.noreply.github.com> Date: Thu, 31 Mar 2022 13:19:35 +0300 Subject: [PATCH] Update horizontal-scroll-snap.md --- snippets/horizontal-scroll-snap.md | 1 + 1 file changed, 1 insertion(+) diff --git a/snippets/horizontal-scroll-snap.md b/snippets/horizontal-scroll-snap.md index 8432a4098..f186c3b72 100644 --- a/snippets/horizontal-scroll-snap.md +++ b/snippets/horizontal-scroll-snap.md @@ -33,6 +33,7 @@ Creates a horizontally scrollable container that will snap on elements when scro gap: 1rem; height: calc(180px + 1rem); padding: 1rem; + max-width: 480px; overflow-y: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;