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 +++++++ 2 files changed, 20 insertions(+), 11 deletions(-) (limited to 'client/src/app/+accounts') 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; -- cgit v1.2.3