Browse Source

feat: bold the title of picture notes

imwald
codytseng 1 year ago
parent
commit
a3c6cf0c21
  1. 2
      src/components/PictureNoteCard/index.tsx

2
src/components/PictureNoteCard/index.tsx

@ -37,7 +37,7 @@ export default function PictureNoteCard({ @@ -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" />

Loading…
Cancel
Save