From: ariasuni Date: Mon, 1 Jun 2020 00:10:45 +0000 (+0200) Subject: Improve appearance of notification cleaning UI X-Git-Url: https://git.xn--scling-oua.cat.family/?a=commitdiff_plain;h=1f94f4009e5b072f8b508b1bf1a046ea034de7c1;p=mastodon.git Improve appearance of notification cleaning UI - Use smaller font-size for consistency with the rest of the UI - Make better use of the horizontal space when available --- diff --git a/app/javascript/flavours/glitch/styles/components/columns.scss b/app/javascript/flavours/glitch/styles/components/columns.scss index 3269638eb..6b657660a 100644 --- a/app/javascript/flavours/glitch/styles/components/columns.scss +++ b/app/javascript/flavours/glitch/styles/components/columns.scss @@ -363,8 +363,8 @@ @extend .column-header__button; background: transparent; text-align: center; - padding: 10px 0; - white-space: pre-wrap; + padding: 10px 5px; + font-size: 14px; } b { @@ -372,6 +372,23 @@ } } + +.layout-single-column .column-header__notif-cleaning-buttons { + @media screen and (min-width: $no-gap-breakpoint) { + b, i { + margin-right: 5px; + } + + br { + display: none; + } + + button { + padding: 15px 5px; + } + } +} + // The notifs drawer with no padding to have more space for the buttons .column-header__collapsible-inner.nopad-drawer { padding: 0;