Skip to content

Commit

Permalink
Fixed transparency effect on video player when bringing up the UI.
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris Bellew committed Oct 18, 2024
1 parent cacdf6c commit 97ee1b9
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions src/ui.css
Original file line number Diff line number Diff line change
Expand Up @@ -60,3 +60,18 @@
padding: 0 1em;
line-height: 0;
}

/* Fixes transparency effect for the video player */
.ytlr-watch-default__shadow {
background-image: linear-gradient(
to bottom,
rgba(0, 0, 0, 0) 0,
rgba(0, 0, 0, 0.8) 90%
) !important;
background-color: rgba(0, 0, 0, 0.3) !important;
display: block !important;
height: 100% !important;
pointer-events: none !important;
position: absolute !important;
width: 100% !important;
}

0 comments on commit 97ee1b9

Please sign in to comment.