From 7efb21fbe08b950667806781ebc445caafb70c82 Mon Sep 17 00:00:00 2001 From: Alan Tan Date: Sat, 4 Mar 2023 10:48:14 +0800 Subject: [PATCH] Fix player element overlap Port #1372 to V4 --- .../extension-context/youtube-features/general/general.css | 5 ----- 1 file changed, 5 deletions(-) diff --git a/content-scripts/extension-context/youtube-features/general/general.css b/content-scripts/extension-context/youtube-features/general/general.css index eca711e60..31e8935f5 100644 --- a/content-scripts/extension-context/youtube-features/general/general.css +++ b/content-scripts/extension-context/youtube-features/general/general.css @@ -197,17 +197,12 @@ html[it-limit-page-width='false'] ytd-watch-flexy:not([fullscreen]) #primary.ytd html[it-limit-page-width='false'] ytd-watch-flexy:not([fullscreen]) #player-container-outer.ytd-watch-flexy { max-width: 100% !important; - max-height: var(--ytd-watch-flexy-max-player-height) !important; } html[it-limit-page-width='false'] ytd-watch-flexy:not([fullscreen]) #player-container-inner.ytd-watch-flexy { padding-top: calc(var(--ytd-watch-flexy-max-player-height) + 45px) !important; } -html[it-limit-page-width='false'] ytd-watch-flexy:not([fullscreen]) #player { - padding-bottom: 45px !important; -} - html[it-limit-page-width='false'] ytd-watch-flexy:not([fullscreen]) .html5-video-container { width: 100% !important; height: 100% !important;