Skip to content

Commit

Permalink
Fix opacity mask for unsynced lyrics container
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffvli committed Oct 8, 2023
1 parent 946f4ff commit 3675146
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/renderer/features/lyrics/unsynchronized-lyrics.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,14 @@ const UnsynchronizedLyricsContainer = styled.div<{ $gap: number }>`
overflow: scroll;
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(
180deg,
transparent 5%,
Expand Down

1 comment on commit 3675146

@vercel
Copy link

@vercel vercel bot commented on 3675146 Oct 8, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

feishin – ./

feishin.vercel.app
feishin-git-development-jeffvli.vercel.app
feishin-jeffvli.vercel.app

Please sign in to comment.