fix(ProfileInfoCard): enhance avatar image styling for better display

This commit is contained in:
mr0x50
2025-02-16 00:08:14 +01:00
parent f5e198601e
commit 8926a73bd9

View File

@@ -86,7 +86,7 @@ const ProfileInfoCard: React.FC<ProfileInfoCardProps> = React.memo(({ pubkey })
<CardHeader>
<div className="flex items-center gap-6">
<Avatar className="h-24 w-24">
<AvatarImage src={userData?.picture} alt={title} />
<AvatarImage className="object-cover w-full h-full" src={userData?.picture} alt={title} />
</Avatar>
<div className="flex flex-col gap-1.5">
<Link href={`/profile/${nip19.npubEncode(pubkey)}`}>