mirror of
https://github.com/iv-org/invidious.git
synced 2024-12-22 16:19:53 +05:30
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 {
|
.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 New Issue
Block a user