fix: 🐛

This commit is contained in:
codytseng
2025-02-16 14:05:37 +08:00
parent 83ae874059
commit 359d2488d3
2 changed files with 6 additions and 2 deletions

View File

@@ -11,7 +11,11 @@ export default function UserItem({ pubkey }: { pubkey: string }) {
<div className="flex gap-2 items-start">
<UserAvatar userId={pubkey} className="shrink-0" />
<div className="w-full overflow-hidden">
<Username userId={pubkey} className="font-semibold truncate" skeletonClassName="h-4" />
<Username
userId={pubkey}
className="font-semibold truncate max-w-full w-fit"
skeletonClassName="h-4"
/>
<Nip05 pubkey={pubkey} />
<div className="truncate text-muted-foreground text-sm">{profile?.about}</div>
</div>