aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-06-07 17:26:14 +0200
committerChocobozzz <me@florianbigard.com>2018-06-07 17:26:14 +0200
commit54d9d09bb165d4b47ddc1c10ba81b41b04895911 (patch)
treeb0afef069755aa0d7644792ea3be10c03e250a7b
parent379acb21bcc491efdc0118ea714790bb34238d66 (diff)
downloadPeerTube-54d9d09bb165d4b47ddc1c10ba81b41b04895911.tar.gz
PeerTube-54d9d09bb165d4b47ddc1c10ba81b41b04895911.tar.zst
PeerTube-54d9d09bb165d4b47ddc1c10ba81b41b04895911.zip
Fix the player size on mobile
-rw-r--r--client/src/app/videos/+video-watch/video-watch.component.scss4
1 files changed, 2 insertions, 2 deletions
diff --git a/client/src/app/videos/+video-watch/video-watch.component.scss b/client/src/app/videos/+video-watch/video-watch.component.scss
index d765f23ef..d1f840937 100644
--- a/client/src/app/videos/+video-watch/video-watch.component.scss
+++ b/client/src/app/videos/+video-watch/video-watch.component.scss
@@ -11,8 +11,8 @@
11 height: 500px; 11 height: 500px;
12 12
13 @media screen and (max-width: 600px) { 13 @media screen and (max-width: 600px) {
14 height: auto; 14 width: 100vw;
15 max-height: calc(100vh - #{$header-height}); 15 height: calc(100vw / 1.7); // 16/9
16 } 16 }
17 17
18 // VideoJS create an inner video player 18 // VideoJS create an inner video player