From d39db21a883d71d101912c0e6e42e97927edb693 Mon Sep 17 00:00:00 2001 From: Rigel Kent Date: Fri, 12 Jun 2020 12:26:48 +0200 Subject: match margin of abstract-video-list and sub-menu's fixed margin --- .../account-about/account-about.component.html | 24 ++++++++------- client/src/app/+accounts/accounts.component.scss | 7 +++++ .../video-channel-about.component.html | 36 ++++++++++++---------- .../video-channel-playlists.component.html | 16 +++++----- .../video-channel-playlists.component.scss | 4 +++ .../+video-channels/video-channels.component.scss | 7 +++++ 6 files changed, 59 insertions(+), 35 deletions(-) (limited to 'client/src/app') diff --git a/client/src/app/+accounts/account-about/account-about.component.html b/client/src/app/+accounts/account-about/account-about.component.html index 3ae11b49c..1f1987aba 100644 --- a/client/src/app/+accounts/account-about/account-about.component.html +++ b/client/src/app/+accounts/account-about/account-about.component.html @@ -1,12 +1,14 @@ -
-
-
DESCRIPTION
-
+
+
+
+
DESCRIPTION
+
+
+ +
+
STATS
+ +
Joined {{ account.createdAt | date }}
+
- -
-
STATS
- -
Joined {{ account.createdAt | date }}
-
-
\ No newline at end of file +
diff --git a/client/src/app/+accounts/accounts.component.scss b/client/src/app/+accounts/accounts.component.scss index 12170e371..e6ab3c036 100644 --- a/client/src/app/+accounts/accounts.component.scss +++ b/client/src/app/+accounts/accounts.component.scss @@ -15,6 +15,13 @@ } } +.margin-content { + // margin-content is required, but child views have their own margins + // that match views outside the scope of accounts, so we only align + // them with the margins of .sub-menu when required. + margin: 0; +} + .right-buttons { display: flex; height: max-content; diff --git a/client/src/app/+video-channels/video-channel-about/video-channel-about.component.html b/client/src/app/+video-channels/video-channel-about/video-channel-about.component.html index c02213ebb..8dff8ba91 100644 --- a/client/src/app/+video-channels/video-channel-about/video-channel-about.component.html +++ b/client/src/app/+video-channels/video-channel-about/video-channel-about.component.html @@ -1,20 +1,22 @@ -
-
-
-
DESCRIPTION
-
+
+
+
+
+
DESCRIPTION
+
+
+ +
+
SUPPORT THIS CHANNEL
+
+
- -
-
SUPPORT THIS CHANNEL
-
+ +
+
+
STATS
+
Created {{ videoChannel.createdAt | date }}
+
- -
-
-
STATS
-
Created {{ videoChannel.createdAt | date }}
-
-
-
\ No newline at end of file +
diff --git a/client/src/app/+video-channels/video-channel-playlists/video-channel-playlists.component.html b/client/src/app/+video-channels/video-channel-playlists/video-channel-playlists.component.html index 3990e73da..663585010 100644 --- a/client/src/app/+video-channels/video-channel-playlists/video-channel-playlists.component.html +++ b/client/src/app/+video-channels/video-channel-playlists/video-channel-playlists.component.html @@ -1,11 +1,13 @@ -
- Created {{ pagination.totalItems }} playlists -
+
+
+ Created {{ pagination.totalItems }} playlists +
-
This channel does not have playlists.
+
This channel does not have playlists.
-
-
- +
+
+ +
diff --git a/client/src/app/+video-channels/video-channel-playlists/video-channel-playlists.component.scss b/client/src/app/+video-channels/video-channel-playlists/video-channel-playlists.component.scss index f0fe7503f..cb2931858 100644 --- a/client/src/app/+video-channels/video-channel-playlists/video-channel-playlists.component.scss +++ b/client/src/app/+video-channels/video-channel-playlists/video-channel-playlists.component.scss @@ -1,3 +1,7 @@ +.title-page { + margin-top: 0; +} + .video-playlist { display: flex; flex-wrap: wrap; diff --git a/client/src/app/+video-channels/video-channels.component.scss b/client/src/app/+video-channels/video-channels.component.scss index 0a49f53cf..22f21dcc6 100644 --- a/client/src/app/+video-channels/video-channels.component.scss +++ b/client/src/app/+video-channels/video-channels.component.scss @@ -40,6 +40,13 @@ } } +.margin-content { + // margin-content is required, but child views have their own margins + // that match views outside the scope of accounts, so we only align + // them with the margins of .sub-menu when required. + margin: 0; +} + .right-buttons { display: flex; height: max-content; -- cgit v1.2.3