feat: bold the title of picture notes

This commit is contained in:
codytseng
2025-01-14 12:28:32 +08:00
parent 6182fc914e
commit a3c6cf0c21

View File

@@ -37,7 +37,7 @@ export default function PictureNoteCard({
return (
<div className={cn('space-y-1 cursor-pointer', className)} onClick={() => push(toNote(event))}>
<Image className="rounded-lg w-full aspect-[6/8]" image={firstImage} />
<div className="line-clamp-2 px-2">{title}</div>
<div className="line-clamp-2 px-2 font-semibold">{title}</div>
<div className="flex items-center gap-2 px-2">
<UserAvatar userId={event.pubkey} size="xSmall" />
<Username userId={event.pubkey} className="text-sm text-muted-foreground truncate" />