From 85edcb5626d6843fbe4aa6f4d002e7ccbb5e7b58 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Tue, 27 Sep 2022 10:05:29 +0200 Subject: Fix number with text input overflow --- .../config/edit-custom-config/edit-custom-config.component.scss | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'client') diff --git a/client/src/app/+admin/config/edit-custom-config/edit-custom-config.component.scss b/client/src/app/+admin/config/edit-custom-config/edit-custom-config.component.scss index 1bc9aebba..dda5d0b5e 100644 --- a/client/src/app/+admin/config/edit-custom-config/edit-custom-config.component.scss +++ b/client/src/app/+admin/config/edit-custom-config/edit-custom-config.component.scss @@ -36,6 +36,10 @@ input[type=number] { position: absolute; top: 0.2em; right: 2.5rem; + + @media screen and (max-width: $mobile-view) { + display: none; + } } input[disabled] { -- cgit v1.2.3 From 52444ea13c72ccf6ff09c629710a545b7e8283df Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Tue, 27 Sep 2022 10:35:51 +0200 Subject: Fix moderation dropdown overflow on mobile --- .../shared-main/buttons/action-dropdown.component.html | 2 +- .../shared-main/buttons/action-dropdown.component.scss | 12 ++++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) (limited to 'client') diff --git a/client/src/app/shared/shared-main/buttons/action-dropdown.component.html b/client/src/app/shared/shared-main/buttons/action-dropdown.component.html index 017355bd0..37cf63fcd 100644 --- a/client/src/app/shared/shared-main/buttons/action-dropdown.component.html +++ b/client/src/app/shared/shared-main/buttons/action-dropdown.component.html @@ -18,7 +18,7 @@ -
+
{{ action.label }} {{ action.description }}
diff --git a/client/src/app/shared/shared-main/buttons/action-dropdown.component.scss b/client/src/app/shared/shared-main/buttons/action-dropdown.component.scss index fe65d6e7e..4c8a591aa 100644 --- a/client/src/app/shared/shared-main/buttons/action-dropdown.component.scss +++ b/client/src/app/shared/shared-main/buttons/action-dropdown.component.scss @@ -53,6 +53,8 @@ } .dropdown-menu { + max-width: 75vw; + .dropdown-header { padding: 0.2rem 1rem; } @@ -72,3 +74,13 @@ } } } + +.item-label { + display: flex; + flex-direction: column; + min-width: 1px; + + > * { + @include ellipsis; + } +} -- cgit v1.2.3