aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/videos/+video-watch/video-watch.component.scss
diff options
context:
space:
mode:
authorRigel Kent <sendmemail@rigelk.eu>2018-09-04 18:35:39 +0200
committerRigel Kent <sendmemail@rigelk.eu>2018-09-04 18:35:39 +0200
commit3b766e181c59ce148fde73e507276c9fbaf37eb1 (patch)
tree0c94b10fc35192897ebbb2f83f8dd04a42b9504a /client/src/app/videos/+video-watch/video-watch.component.scss
parent6aff854c0e56a11b61fa1130763c7c86e46a4c4d (diff)
downloadPeerTube-3b766e181c59ce148fde73e507276c9fbaf37eb1.tar.gz
PeerTube-3b766e181c59ce148fde73e507276c9fbaf37eb1.tar.zst
PeerTube-3b766e181c59ce148fde73e507276c9fbaf37eb1.zip
fixing grid readjustment with expand and screens < 1150px
Diffstat (limited to 'client/src/app/videos/+video-watch/video-watch.component.scss')
-rw-r--r--client/src/app/videos/+video-watch/video-watch.component.scss9
1 files changed, 7 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 633b16c05..be1388a83 100644
--- a/client/src/app/videos/+video-watch/video-watch.component.scss
+++ b/client/src/app/videos/+video-watch/video-watch.component.scss
@@ -37,8 +37,9 @@
37 } 37 }
38 38
39 /deep/ .video-js { 39 /deep/ .video-js {
40 width: 888px; 40 width: calc(100vw - 240px);
41 height: 500px; 41 height: auto;
42 max-height: 500px;
42 43
43 &.vjs-theater-enabled { 44 &.vjs-theater-enabled {
44 height: calc(100vh - #{$header-height} - #{$theater-bottom-space}); 45 height: calc(100vh - #{$header-height} - #{$theater-bottom-space});
@@ -479,6 +480,10 @@
479 } 480 }
480} 481}
481 482
483@media (max-width: 1150px) {
484 .w-100-until-1150px { width: 100% !important }
485}
486
482@media screen and (max-width: 600px) { 487@media screen and (max-width: 600px) {
483 .video-bottom { 488 .video-bottom {
484 margin: 20px 0 0 0; 489 margin: 20px 0 0 0;