Skip to content

Commit e475e92

Browse files
committed
fix(scrollable-container): put shadows on top of content
1 parent 398a5a9 commit e475e92

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/components/_provisional/src/scrollable-container/index.module.scss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
width: 100%;
2727
transform: translate(var(--scroll-x), var(--scroll-y));
2828
pointer-events: none;
29+
z-index: 1;
2930

3031
&::before,
3132
&::after {
@@ -41,6 +42,7 @@
4142
width: 100%;
4243
transform: translate(var(--scroll-x), var(--scroll-y));
4344
pointer-events: none;
45+
z-index: 1;
4446
}
4547

4648
// shadow top

0 commit comments

Comments
 (0)