update repost

This commit is contained in:
Ren Amamiya
2023-06-18 15:55:07 +07:00
parent 7ec284d4a5
commit d87ca7b75b
9 changed files with 79 additions and 71 deletions

View File

@@ -27,12 +27,14 @@ export function User({
}`}
>
<Popover.Button
className={`${avatarWidth} ${avatarHeight} shrink-0 overflow-hidden rounded-md bg-zinc-900`}
className={`${avatarWidth} ${avatarHeight} shrink-0 overflow-hidden`}
>
<Image
src={user?.image || DEFAULT_AVATAR}
alt={pubkey}
className={`${avatarWidth} ${avatarHeight} rounded-md object-cover`}
className={`${avatarWidth} ${avatarHeight} ${
size === "small" ? "rounded" : "rounded-md"
} object-cover`}
/>
</Popover.Button>
<div className="flex flex-wrap items-baseline gap-1">