diff --git a/src/ui.css b/src/ui.css index 5d749cbe..99a8c569 100644 --- a/src/ui.css +++ b/src/ui.css @@ -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; +}