aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/videos
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-02-28 09:39:08 +0100
committerChocobozzz <me@florianbigard.com>2018-02-28 09:39:08 +0100
commitacbffe9c0f2c1761fef11d49fb3da97734b000e5 (patch)
tree013a453379da3d223f1f36721354ebc238c4d065 /client/src/app/videos
parent7ccfb37f328f2b2c338019238e58344032d5a381 (diff)
downloadPeerTube-acbffe9c0f2c1761fef11d49fb3da97734b000e5.tar.gz
PeerTube-acbffe9c0f2c1761fef11d49fb3da97734b000e5.tar.zst
PeerTube-acbffe9c0f2c1761fef11d49fb3da97734b000e5.zip
Add max video height on mobile
Diffstat (limited to 'client/src/app/videos')
-rw-r--r--client/src/app/videos/+video-watch/video-watch.component.scss3
1 files changed, 2 insertions, 1 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 eb701e0ab..11518633c 100644
--- a/client/src/app/videos/+video-watch/video-watch.component.scss
+++ b/client/src/app/videos/+video-watch/video-watch.component.scss
@@ -10,8 +10,9 @@
10 width: 888px; 10 width: 888px;
11 height: 500px; 11 height: 500px;
12 12
13 @media screen and (max-width: 800px) { 13 @media screen and (max-width: 600px) {
14 height: auto; 14 height: auto;
15 max-height: calc(100vh - #{$header-height});
15 } 16 }
16 17
17 // VideoJS create an inner video player 18 // VideoJS create an inner video player