chore: format
This commit is contained in:
parent
4bd4141b54
commit
e490407dd5
225 changed files with 924 additions and 844 deletions
|
|
@ -22,11 +22,11 @@ export default function FollowPack({ event, className }: { event: Event; classNa
|
|||
|
||||
return (
|
||||
<div className={className}>
|
||||
<div className="flex items-start gap-2 mb-2">
|
||||
<div className="mb-2 flex items-start gap-2">
|
||||
{image && (
|
||||
<Image
|
||||
image={{ url: image, pubkey: event.pubkey }}
|
||||
className="w-24 h-20 object-cover"
|
||||
className="h-20 w-24 object-cover"
|
||||
classNames={{
|
||||
wrapper: 'w-24 h-20 flex-shrink-0',
|
||||
errorPlaceholder: 'w-24 h-20'
|
||||
|
|
@ -34,15 +34,15 @@ export default function FollowPack({ event, className }: { event: Event; classNa
|
|||
hideIfError
|
||||
/>
|
||||
)}
|
||||
<div className="flex-1 min-w-0">
|
||||
<div className="min-w-0 flex-1">
|
||||
<div className="flex items-center gap-2">
|
||||
<h3 className="text-xl font-semibold mb-1 truncate">{title}</h3>
|
||||
<span className="text-xs text-muted-foreground shrink-0">
|
||||
<h3 className="mb-1 truncate text-xl font-semibold">{title}</h3>
|
||||
<span className="shrink-0 text-xs text-muted-foreground">
|
||||
{t('n users', { count: pubkeys.length })}
|
||||
</span>
|
||||
</div>
|
||||
{description && (
|
||||
<p className="text-sm text-muted-foreground line-clamp-2">{description}</p>
|
||||
<p className="line-clamp-2 text-sm text-muted-foreground">{description}</p>
|
||||
)}
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue