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