From 4158e67c8d7eb39712e598d3f409c6739eef5f0b Mon Sep 17 00:00:00 2001 From: Wicklow Date: Mon, 20 Feb 2023 11:32:48 +0100 Subject: Refactoring margin and padding mixins --- .../account-video-channels/account-video-channels.component.scss | 8 ++------ client/src/app/+accounts/accounts.component.html | 2 +- client/src/app/+accounts/accounts.component.scss | 4 ++-- 3 files changed, 5 insertions(+), 9 deletions(-) (limited to 'client/src/app/+accounts') diff --git a/client/src/app/+accounts/account-video-channels/account-video-channels.component.scss b/client/src/app/+accounts/account-video-channels/account-video-channels.component.scss index 2e34ed71c..b5aacffc8 100644 --- a/client/src/app/+accounts/account-video-channels/account-video-channels.component.scss +++ b/client/src/app/+accounts/account-video-channels/account-video-channels.component.scss @@ -8,8 +8,8 @@ } .channel { - @include rfs(2rem, padding); - @include rfs(2rem 0, margin); + @include padding(1.75rem); + @include margin(2rem, 0); max-width: $max-channels-width; background-color: pvar(--channelBackgroundColor); @@ -110,10 +110,6 @@ my-subscribe-button { } @include on-small-main-col { - .channel { - padding: 15px; - } - .channel-avatar-row { grid-template-columns: auto auto auto 1fr; diff --git a/client/src/app/+accounts/accounts.component.html b/client/src/app/+accounts/accounts.component.html index 116b26a4d..2a4985964 100644 --- a/client/src/app/+accounts/accounts.component.html +++ b/client/src/app/+accounts/accounts.component.html @@ -13,7 +13,7 @@

{{ account.displayName }}

diff --git a/client/src/app/+accounts/accounts.component.scss b/client/src/app/+accounts/accounts.component.scss index 908e4eeda..56b952b65 100644 --- a/client/src/app/+accounts/accounts.component.scss +++ b/client/src/app/+accounts/accounts.component.scss @@ -109,8 +109,8 @@ @media screen and (max-width: $mobile-view) { .root { - --myFontSize: $font-size-rem-14px; - --myGreyFontSize: $font-size-rem-13px; + --myFontSize: 14px; + --myGreyFontSize: 13px; } .links { -- cgit v1.2.3