Skip to content

Commit acde235

Browse files
committed
scroll y
1 parent 4f4e635 commit acde235

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

apps/svelte.dev/src/routes/packages/Category.svelte

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,8 @@
146146
}
147147
148148
.viewport {
149-
overscroll-behavior: contain;
149+
overscroll-behavior-x: contain;
150+
overscroll-behavior-y: auto;
150151
scroll-snap-type: x mandatory;
151152
152153
&[inert] {
@@ -174,6 +175,7 @@
174175
width: 100%;
175176
height: 100%;
176177
overflow-x: auto;
178+
overflow-y: visible;
177179
margin: 1rem 0;
178180
}
179181
}

0 commit comments

Comments
 (0)