mirror of https://github.com/Chocobozzz/PeerTube
Fix the player size on mobile
parent
379acb21bc
commit
54d9d09bb1
|
@ -11,8 +11,8 @@
|
||||||
height: 500px;
|
height: 500px;
|
||||||
|
|
||||||
@media screen and (max-width: 600px) {
|
@media screen and (max-width: 600px) {
|
||||||
height: auto;
|
width: 100vw;
|
||||||
max-height: calc(100vh - #{$header-height});
|
height: calc(100vw / 1.7); // 16/9
|
||||||
}
|
}
|
||||||
|
|
||||||
// VideoJS create an inner video player
|
// VideoJS create an inner video player
|
||||||
|
|
Loading…
Reference in New Issue