From cd262619abe8b694b1899f0a196b0ff42e0c4a2a Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Thu, 29 Apr 2021 09:29:00 +0200 Subject: Fix my library/account/admin sub titles alignment --- .../my-video-channels.component.html | 8 +- .../my-video-channels.component.scss | 95 +++++++++++----------- 2 files changed, 52 insertions(+), 51 deletions(-) (limited to 'client/src/app/+my-library/+my-video-channels') diff --git a/client/src/app/+my-library/+my-video-channels/my-video-channels.component.html b/client/src/app/+my-library/+my-video-channels/my-video-channels.component.html index a2bdfa31a..2ed0c93d6 100644 --- a/client/src/app/+my-library/+my-video-channels/my-video-channels.component.html +++ b/client/src/app/+my-library/+my-video-channels/my-video-channels.component.html @@ -1,9 +1,7 @@

- - - My channels - {{ totalItems }} - + + My channels + {{ totalItems }}

diff --git a/client/src/app/+my-library/+my-video-channels/my-video-channels.component.scss b/client/src/app/+my-library/+my-video-channels/my-video-channels.component.scss index bb5394094..191c5169d 100644 --- a/client/src/app/+my-library/+my-video-channels/my-video-channels.component.scss +++ b/client/src/app/+my-library/+my-video-channels/my-video-channels.component.scss @@ -1,6 +1,11 @@ @import '_variables'; @import '_mixins'; +h1 my-global-icon { + position: relative; + top: -2px; +} + .create-button { @include create-button; } @@ -9,10 +14,8 @@ input[type=text] { @include peertube-input-text(300px); } -::ng-deep .action-button { - &.action-button-edit { - margin-right: 10px; - } +my-edit-button { + margin-right: 10px; } .video-channel { @@ -25,35 +28,35 @@ input[type=text] { margin-right: 10px; } +} - .video-channel-info { - flex-grow: 1; - - a.video-channel-names { - @include disable-default-a-behaviour; - - width: fit-content; - display: flex; - align-items: baseline; - color: pvar(--mainForegroundColor); - - .video-channel-display-name { - font-weight: $font-semibold; - font-size: 18px; - } - - .video-channel-name { - font-size: 14px; - color: $grey-actor-name; - margin-left: 5px; - } - } - } +.video-channel-info { + flex-grow: 1; +} - .video-channel-buttons { - margin-top: 10px; - min-width: 190px; - } +.video-channel-names { + @include disable-default-a-behaviour; + + width: fit-content; + display: flex; + align-items: baseline; + color: pvar(--mainForegroundColor); +} + +.video-channel-display-name { + font-weight: $font-semibold; + font-size: 18px; +} + +.video-channel-name { + font-size: 14px; + color: $grey-actor-name; + margin-left: 5px; +} + +.video-channel-buttons { + margin-top: 10px; + min-width: 190px; } ::ng-deep .chartjs-render-monitor { @@ -73,21 +76,6 @@ input[type=text] { .video-channel { padding-bottom: 10px; - .video-channel-info { - padding-bottom: 10px; - text-align: center; - - .video-channel-names { - flex-direction: column; - align-items: center !important; - margin: auto; - - .video-channel-name { - margin-left: 0 !important; - } - } - } - img { margin-right: 0; } @@ -96,6 +84,21 @@ input[type=text] { align-self: center; } } + + .video-channel-info { + padding-bottom: 10px; + text-align: center; + } + + .video-channel-names { + flex-direction: column; + align-items: center !important; + margin: auto; + } + + .video-channel-name { + margin-left: 0 !important; + } } @media screen and (max-width: $mobile-view) { -- cgit v1.2.3