Fix the player size on mobile

pull/636/head
Chocobozzz 2018-06-07 17:26:14 +02:00
parent 379acb21bc
commit 54d9d09bb1
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
1 changed files with 2 additions and 2 deletions

View File

@ -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