From 5d823b21953a431e8afcf5b9ca9b2e136ab34c78 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zoe=CC=88=20Bijl?= Date: Wed, 15 Oct 2025 01:19:01 +0200 Subject: [PATCH] [bugfix] set avatars to cover available space no more squashed avatars --- app/javascript/flavours/glitch/components/avatar.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/javascript/flavours/glitch/components/avatar.tsx b/app/javascript/flavours/glitch/components/avatar.tsx index 16cef0ddd..2799cb171 100644 --- a/app/javascript/flavours/glitch/components/avatar.tsx +++ b/app/javascript/flavours/glitch/components/avatar.tsx @@ -28,7 +28,8 @@ export const Avatar: React.FC = ({ ...styleFromParent, width: `${size}px`, height: `${size}px`, - backgroundSize: `${size}px ${size}px`, + backgroundSize: `cover`, + backgroundPosition: `center`, }; if (account) {