mirror of https://github.com/iv-org/invidious.git
Calculate player height based on viewport
This commit is contained in:
parent
e86eb16d91
commit
19c32bf993
|
@ -316,12 +316,12 @@ img.thumbnail {
|
|||
}
|
||||
|
||||
.player-dimensions.vjs-fluid {
|
||||
padding-top: 46.86%;
|
||||
padding-top: 82vh;
|
||||
}
|
||||
|
||||
#player-container {
|
||||
position: relative;
|
||||
padding-bottom: 46.86%;
|
||||
padding-bottom: 82vh;
|
||||
margin-left: 1em;
|
||||
margin-right: 1em;
|
||||
height: 0;
|
||||
|
|
Loading…
Reference in New Issue