From 2c3abc4fa796555eb7d25f416c4f41ab3e3ad8ca Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Thu, 11 Apr 2019 11:18:19 +0200 Subject: Fix my account settings responsive --- .../my-account-notification-preferences.component.scss | 8 ++++++++ .../src/app/+my-account/shared/actor-avatar-info.component.scss | 6 +++++- 2 files changed, 13 insertions(+), 1 deletion(-) (limited to 'client/src/app') diff --git a/client/src/app/+my-account/my-account-settings/my-account-notification-preferences/my-account-notification-preferences.component.scss b/client/src/app/+my-account/my-account-settings/my-account-notification-preferences/my-account-notification-preferences.component.scss index 0274f47c5..7cd5c3b46 100644 --- a/client/src/app/+my-account/my-account-settings/my-account-notification-preferences/my-account-notification-preferences.component.scss +++ b/client/src/app/+my-account/my-account-settings/my-account-notification-preferences/my-account-notification-preferences.component.scss @@ -16,6 +16,14 @@ & > div { width: 350px; + + @media screen and (max-width: $small-view) { + width: auto; + + &:first-child { + flex-grow: 1; + } + } } & > div { diff --git a/client/src/app/+my-account/shared/actor-avatar-info.component.scss b/client/src/app/+my-account/shared/actor-avatar-info.component.scss index 0b0c83de5..86f8108b9 100644 --- a/client/src/app/+my-account/shared/actor-avatar-info.component.scss +++ b/client/src/app/+my-account/shared/actor-avatar-info.component.scss @@ -18,6 +18,10 @@ .actor-info-display-name { font-size: 20px; font-weight: $font-bold; + + @media screen and (max-width: $small-view) { + font-size: 16px; + } } .actor-info-username { @@ -48,4 +52,4 @@ position: relative; top: -10px; -} \ No newline at end of file +} -- cgit v1.2.3