From 3e92e718e5ee1e5856943c5e66ef1c8bb668dcb1 Mon Sep 17 00:00:00 2001 From: duckietm Date: Tue, 9 Jun 2026 07:11:28 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=86=99=20Fix=20avatar=20head=20in=20frien?= =?UTF-8?q?ds=20chat?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/css/friends/FriendsView.css | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/css/friends/FriendsView.css b/src/css/friends/FriendsView.css index 7f1404a..ff13749 100644 --- a/src/css/friends/FriendsView.css +++ b/src/css/friends/FriendsView.css @@ -637,19 +637,19 @@ & .message-avatar { position: relative; flex-shrink: 0; - overflow: visible; + overflow: hidden; width: 36px; height: 36px; & .avatar-image { - position: absolute; - left: 50%; - top: 56%; - width: 54px; - height: 54px; + position: absolute; + inset: 0; + width: 100%; + height: 100%; margin: 0; - background-position: center center !important; - transform: translate(-50%, -50%) scale(.95); + background-size: 74px auto !important; + background-position: -18px -24px !important; + transform: none; } }