Skip to content

Commit

Permalink
Merge pull request #1712 from HanzCEO/master
Browse files Browse the repository at this point in the history
feat(player.css): Fixed max-height constraint (fixes #1710)
  • Loading branch information
ImprovedTube committed Jul 4, 2023
2 parents b8dd896 + c39de56 commit e621542
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -395,6 +395,11 @@ html[data-page-type=video][it-player-size='max_width'] .ytp-fit-cover-video .htm
# FULL HEIGHT "Full window"
--------------------------------------------------------------*/

html[data-page-type=video][it-player-size='full_window'] ytd-watch-flexy[theater] #player-wide-container {
height: calc(var(--it-player-size) - var(--it-header-size)) !important;
max-height: var(--it-player-size) !important;
}

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

Expand Down Expand Up @@ -557,4 +562,4 @@ html[it-player-remote-button=true] .ytp-remote-button {
html[it-player-hide-skip-overlay=true] .ytp-doubletap-ui, .ytp-doubletap-ui-legacy
{
visibility: hidden;
}
}

0 comments on commit e621542

Please sign in to comment.