]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/commitdiff
Fix player height on mobile
authorChocobozzz <me@florianbigard.com>
Fri, 13 Nov 2020 13:49:27 +0000 (14:49 +0100)
committerChocobozzz <me@florianbigard.com>
Fri, 13 Nov 2020 13:49:27 +0000 (14:49 +0100)
client/src/app/+videos/+video-watch/video-watch.component.scss

index e198a8bb00dd95f4614e8e3c6a4d917d198690e8..d0cefdc927b495db4c80b3b4c3f09f37d8459454 100644 (file)
@@ -98,10 +98,14 @@ $video-info-margin-left: 44px;
   }
 
   @media screen and (max-width: 600px) {
+    #videojs-wrapper {
+      height: getPlayerHeight(100vw) !important;
+    }
+
     .remote-server-down,
     ::ng-deep .video-js {
       width: 100vw;
-      height: getPlayerHeight(100vw)
+      height: getPlayerHeight(100vw) !important;
     }
   }
 }