From a0daec6ea10db9ee4c1b3f96b58bfdfa0a836947 Mon Sep 17 00:00:00 2001 From: Oneric Date: Tue, 20 Feb 2024 17:33:38 +0100 Subject: [PATCH] =?UTF-8?q?static-fe:=20don=E2=80=99t=20squeeze=20non-squa?= =?UTF-8?q?re=20emoji?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Emoji and the navbar items want to let blend in with lines of text, so fix their height and let the width adjust as needed. --- priv/static/static-fe/static-fe.css | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/priv/static/static-fe/static-fe.css b/priv/static/static-fe/static-fe.css index 606c07d7e..5bfa03c07 100644 --- a/priv/static/static-fe/static-fe.css +++ b/priv/static/static-fe/static-fe.css @@ -117,6 +117,7 @@ .inner-nav a { .inner-nav img { height: 28px; + width: auto; vertical-align: middle; padding-right: 5px } @@ -642,13 +643,13 @@ @media (max-width: 800px) { } img:not(.u-photo, .fa-icon) { - width: 32px; + width: auto; height: 32px; padding: 0; vertical-align: middle; } .username img:not(.u-photo) { - width: 16px; + width: auto; height: 16px; } \ No newline at end of file