Skip to content

Commit

Permalink
Merge pull request #204 from atomjack/black-overlay-fix
Browse files Browse the repository at this point in the history
Fixed transparency effect on video player when bringing up the UI.
  • Loading branch information
throwaway96 authored Oct 19, 2024
2 parents 0fc3aff + 8286274 commit 987e0c3
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 987e0c3

Please sign in to comment.