From 62b3a2eed5e46cf33df23e464b2af800c25dddc4 Mon Sep 17 00:00:00 2001 From: Afzal Imdad <122292180+afzalimdad9@users.noreply.github.com> Date: Tue, 27 Aug 2024 13:20:29 +0500 Subject: [PATCH] Fix avatar scaling issue in wide card and profile activity page (#6503) (#6778) - Adjusted CSS to correct the compression of the profile avatar in the wide card and profile activity page. - Ensured the avatar scales properly, aligning with the expected behavior seen in the standard profile picture view. - Tested on Chrome (Brave browser) to confirm the fix. --- src/components/UserPublicProfile/UserPublicProfileHeader.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/UserPublicProfile/UserPublicProfileHeader.tsx b/src/components/UserPublicProfile/UserPublicProfileHeader.tsx index c1f172df8..81c3f5646 100644 --- a/src/components/UserPublicProfile/UserPublicProfileHeader.tsx +++ b/src/components/UserPublicProfile/UserPublicProfileHeader.tsx @@ -27,7 +27,7 @@ export function UserPublicProfileHeader(props: UserPublicProfileHeaderProps) { : '/images/default-avatar.png' } alt={name} - className="h-32 w-32 rounded-full" + className="h-32 w-32 object-cover rounded-full" />