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 --- client/src/app/shared/video/abstract-video-list.scss | 2 +- client/src/app/shared/video/video-miniature.component.scss | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'client/src/app/shared/video') diff --git a/client/src/app/shared/video/abstract-video-list.scss b/client/src/app/shared/video/abstract-video-list.scss index a1d9168de..9d481d6e4 100644 --- a/client/src/app/shared/video/abstract-video-list.scss +++ b/client/src/app/shared/video/abstract-video-list.scss @@ -26,7 +26,7 @@ .margin-content { width: $video-miniature-width * 6; - margin: auto; + margin: auto !important; @media screen and (max-width: 1800px) { width: $video-miniature-width * 5; diff --git a/client/src/app/shared/video/video-miniature.component.scss b/client/src/app/shared/video/video-miniature.component.scss index 80d6c4fda..6e173af99 100644 --- a/client/src/app/shared/video/video-miniature.component.scss +++ b/client/src/app/shared/video/video-miniature.component.scss @@ -64,16 +64,16 @@ margin-right: 10px; /deep/ .dropdown-root:not(.show) { - display: none; + opacity: 0; } /deep/ .playlist-dropdown.show + my-action-dropdown .dropdown-root { - display: block; + opacity: 1; } } &:hover .video-actions /deep/ .dropdown-root { - display: block; + opacity: 1; } @media screen and (max-width: $small-view) { -- cgit v1.2.3