mirror of
https://gitea.invidious.io/iv-org/invidious-copy-2022-04-11.git
synced 2024-08-15 00:43:26 +00:00
Calculate player height based on viewport
This commit is contained in:
parent
e86eb16d91
commit
19c32bf993
1 changed files with 2 additions and 2 deletions
|
@ -316,12 +316,12 @@ img.thumbnail {
|
||||||
}
|
}
|
||||||
|
|
||||||
.player-dimensions.vjs-fluid {
|
.player-dimensions.vjs-fluid {
|
||||||
padding-top: 46.86%;
|
padding-top: 82vh;
|
||||||
}
|
}
|
||||||
|
|
||||||
#player-container {
|
#player-container {
|
||||||
position: relative;
|
position: relative;
|
||||||
padding-bottom: 46.86%;
|
padding-bottom: 82vh;
|
||||||
margin-left: 1em;
|
margin-left: 1em;
|
||||||
margin-right: 1em;
|
margin-right: 1em;
|
||||||
height: 0;
|
height: 0;
|
||||||
|
|
Loading…
Reference in a new issue