From 2b3f1919fda81c2781ceeb9071d426c184e1b21c Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Thu, 11 Apr 2019 10:21:45 +0200 Subject: Fix videos list margin with hidden menu --- .../videos/+video-watch/video-watch.component.html | 34 ++++++++++++---------- .../videos/+video-watch/video-watch.component.scss | 3 +- 2 files changed, 19 insertions(+), 18 deletions(-) (limited to 'client/src/app/videos') diff --git a/client/src/app/videos/+video-watch/video-watch.component.html b/client/src/app/videos/+video-watch/video-watch.component.html index 7755a729a..7e9b89dd0 100644 --- a/client/src/app/videos/+video-watch/video-watch.component.html +++ b/client/src/app/videos/+video-watch/video-watch.component.html @@ -36,25 +36,27 @@ -
- The video is being imported, it will be available when the import is finished. -
+
+
+ The video is being imported, it will be available when the import is finished. +
-
- The video is being transcoded, it may not work properly. -
+
+ The video is being transcoded, it may not work properly. +
-
- This video will be published on {{ video.scheduledUpdate.updateAt | date: 'full' }}. -
+
+ This video will be published on {{ video.scheduledUpdate.updateAt | date: 'full' }}. +
-
- This playlist does not have videos. -
+
+ This playlist does not have videos. +
-
-
This video is blacklisted.
- {{ video.blacklistedReason }} +
+
This video is blacklisted.
+ {{ video.blacklistedReason }} +
@@ -225,7 +227,7 @@
-
+
Friendly Reminder: 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 84b9aed39..de932c99d 100644 --- a/client/src/app/videos/+video-watch/video-watch.component.scss +++ b/client/src/app/videos/+video-watch/video-watch.component.scss @@ -156,6 +156,7 @@ $player-factor: 1.7; // 16/9 .alert { text-align: center; + border-radius: 0; } #video-not-found { @@ -427,7 +428,6 @@ my-video-comments { // If the view is not expanded, take into account the menu .privacy-concerns { width: calc(100% - #{$menu-width}); - margin-left: -15px; } @media screen and (max-width: $small-view) { @@ -439,7 +439,6 @@ my-video-comments { :host-context(.expanded) { .privacy-concerns { width: 100%; - margin-left: 0; } } -- cgit v1.2.3