Delete container 's width

The container 'horizontal-snap' will overflow on mobile phone.
This commit is contained in:
Long Xiong
2022-01-11 16:03:35 +08:00
committed by GitHub
parent 616d9461d9
commit 5a8984df30

View File

@ -33,7 +33,6 @@ Creates a horizontally scrollable container that will snap on elements when scro
gap: 1rem;
height: calc(180px + 1rem);
padding: 1rem;
width: 480px;
overflow-y: auto;
overscroll-behavior-x: contain;
scroll-snap-type: x mandatory;