From d7c8e9df272a6a5cc58a56e46ca35859537bf645 Mon Sep 17 00:00:00 2001 From: Oneric Date: Fri, 23 Feb 2024 23:39:44 +0000 Subject: [PATCH] =?UTF-8?q?static-fe:=20don=E2=80=99t=20squeeze=20non-squa?= =?UTF-8?q?re=20avatars?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This will crop them to a square matching behaviour of Husky and *key and allowing us to never worry about consistent alignment. Note, akkoma-fe instead displays the full image with inserted spacing. --- priv/static/static-fe/static-fe.css | 1 + 1 file changed, 1 insertion(+) diff --git a/priv/static/static-fe/static-fe.css b/priv/static/static-fe/static-fe.css index 5bfa03c07..81a3bc850 100644 --- a/priv/static/static-fe/static-fe.css +++ b/priv/static/static-fe/static-fe.css @@ -441,6 +441,7 @@ .user-info .avatar img { .avatar img { border-radius: 3px; box-shadow: var(--avatarShadow); + object-fit: cover; } .user-summary {