X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fapp%2F%2Bvideos%2F%2Bvideo-watch%2Fvideo-watch.component.scss;h=555126cbc293eb709be5d7248b7b934e953df20b;hb=903353d67a8d0fdda8465ed6c57b77a9a5afbe92;hp=4bf5ff8088886cf80c9dca09545cf9c7bd765030;hpb=a5cf76afa378aae81af2a9b0ce548e5d2582f832;p=github%2FChocobozzz%2FPeerTube.git 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 4bf5ff808..555126cbc 100644 --- a/client/src/app/+videos/+video-watch/video-watch.component.scss +++ b/client/src/app/+videos/+video-watch/video-watch.component.scss @@ -27,13 +27,14 @@ $video-info-margin-left: 44px; flex-direction: column; justify-content: center; + $height: calc(100vh - #{$header-height} - #{$theater-bottom-space}); + #videojs-wrapper { width: 100%; + height: $height; } ::ng-deep .video-js { - $height: calc(100vh - #{$header-height} - #{$theater-bottom-space}); - height: $height; width: 100%; max-width: initial; @@ -97,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; } } } @@ -192,7 +197,7 @@ $video-info-margin-left: 44px; line-height: 1.37; a:nth-of-type(2) { - font-weight: 500; + font-weight: $font-regular; font-size: 90%; } @@ -347,7 +352,7 @@ $video-info-margin-left: 44px; .video-info-description-html { @include peertube-word-wrap; - /deep/ a { + ::ng-deep a { text-decoration: none; } }