Skip to content

Commit dadcbd2

Browse files
committed
Fix broken animation on Safari
Closes #120
1 parent 09c7ff9 commit dadcbd2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/skeleton.css

+1
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919

2020
position: relative;
2121
overflow: hidden;
22+
z-index: 1; /* Necessary for overflow: hidden to work correctly in Safari */
2223
}
2324

2425
.react-loading-skeleton::after {

0 commit comments

Comments
 (0)