From d794137057fc5fcea10ddd29f82e79ee2412fea4 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Wed, 31 Mar 2021 11:21:10 +0200 Subject: Refactor horizontal margins --- .../my-video-playlist-elements.component.scss | 4 ++-- .../app/+my-library/my-videos/my-videos.component.scss | 15 --------------- 2 files changed, 2 insertions(+), 17 deletions(-) (limited to 'client/src/app/+my-library') diff --git a/client/src/app/+my-library/my-video-playlists/my-video-playlist-elements.component.scss b/client/src/app/+my-library/my-video-playlists/my-video-playlist-elements.component.scss index 90434fcf1..87a836a46 100644 --- a/client/src/app/+my-library/my-video-playlists/my-video-playlist-elements.component.scss +++ b/client/src/app/+my-library/my-video-playlists/my-video-playlist-elements.component.scss @@ -4,7 +4,7 @@ .playlist-info { background-color: pvar(--submenuBackgroundColor); - margin-left: -$not-expanded-horizontal-margins; + margin-left: calc(#{pvar(--horizontalMarginContent)} * -1); margin-top: -$sub-menu-margin-bottom; padding: 10px; @@ -63,7 +63,7 @@ .playlist-info { width: 100vw; padding-top: 20px; - margin-left: calc(#{var(--expanded-horizontal-margin-content)} * -1); + margin-bottom: 10px; } .playlist-elements { diff --git a/client/src/app/+my-library/my-videos/my-videos.component.scss b/client/src/app/+my-library/my-videos/my-videos.component.scss index 59fc5fe80..57473896b 100644 --- a/client/src/app/+my-library/my-videos/my-videos.component.scss +++ b/client/src/app/+my-library/my-videos/my-videos.component.scss @@ -112,21 +112,6 @@ my-edit-button { } } -// Adapt my-video-miniature on small screens with menu -@media screen and (min-width: $small-view) and (max-width: #{breakpoint(lg) + ($not-expanded-horizontal-margins / 3) * 2}) { - :host-context(.main-col:not(.expanded)) { - ::ng-deep { - .video-miniature { - flex-direction: column; - - .video-miniature-name { - max-width: $video-thumbnail-width; - } - } - } - } -} - @media screen and (max-width: $mobile-view) { .videos-header { flex-direction: column; -- cgit v1.2.3