From 76454cc63803f3619c6c2352abac9646004e32c4 Mon Sep 17 00:00:00 2001 From: Claire Date: Wed, 7 Dec 2022 00:40:18 +0100 Subject: [PATCH] Fix UI header overflow on mobile (#21783) --- app/javascript/styles/mastodon/components.scss | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/app/javascript/styles/mastodon/components.scss b/app/javascript/styles/mastodon/components.scss index 79a9a4bd7..318e4b3de 100644 --- a/app/javascript/styles/mastodon/components.scss +++ b/app/javascript/styles/mastodon/components.scss @@ -2217,6 +2217,7 @@ $ui-header-height: 55px; z-index: 2; justify-content: space-between; align-items: center; + overflow: hidden; &__logo { display: inline-flex; @@ -2233,10 +2234,15 @@ $ui-header-height: 55px; align-items: center; gap: 10px; padding: 0 10px; + overflow: hidden; .button { flex: 0 0 auto; } + + .button-tertiary { + flex-shrink: 1; + } } }