Skip to content

Commit

Permalink
Merge pull request #1870 from NuclearMeltdown/master
Browse files Browse the repository at this point in the history
Update player.css to get rid of top and bottom margins on 16:9 aspect ratio using max width
  • Loading branch information
ImprovedTube authored Dec 6, 2023
2 parents 7e2519a + 2c1e36b commit 94cf87d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -388,7 +388,7 @@ html[data-page-type=video][it-player-size='max_width'] ytd-watch-flexy:not([full
justify-content: center !important}

html[data-page-type=video][it-player-size='max_width'] {
--it-player-size: 100vh;}
--it-player-size: 86vh;}

html[data-page-type=video][it-player-size='max_width'] .ytp-fit-cover-video .html5-main-video {
object-fit: contain !important;}
Expand Down

0 comments on commit 94cf87d

Please sign in to comment.