mirror of
https://github.com/jeffvli/feishin.git
synced 2026-06-17 08:54:27 +02:00
Fix lyrics mask
This commit is contained in:
@@ -25,6 +25,14 @@ const SynchronizedLyricsContainer = styled.div<{ $gap: number }>`
|
|||||||
overflow: scroll;
|
overflow: scroll;
|
||||||
transform: translateY(-2rem);
|
transform: translateY(-2rem);
|
||||||
|
|
||||||
|
-webkit-mask-image: linear-gradient(
|
||||||
|
180deg,
|
||||||
|
transparent 5%,
|
||||||
|
rgb(0 0 0 / 100%) 20%,
|
||||||
|
rgb(0 0 0 / 100%) 85%,
|
||||||
|
transparent 95%
|
||||||
|
);
|
||||||
|
|
||||||
mask-image: linear-gradient(
|
mask-image: linear-gradient(
|
||||||
180deg,
|
180deg,
|
||||||
transparent 5%,
|
transparent 5%,
|
||||||
|
|||||||
Reference in New Issue
Block a user