add download button to image

This commit is contained in:
Ren Amamiya
2023-07-23 17:27:51 +07:00
parent 13ca8a2c54
commit 71c4f3db22
6 changed files with 48 additions and 8 deletions

View File

@@ -115,12 +115,12 @@ export function User({
<div className="h-3 w-20 animate-pulse rounded-sm bg-zinc-700" />
)}
</h5>
<span className="max-w-[15rem] truncate text-sm leading-none text-zinc-500">
<span className="max-w-[10rem] truncate text-sm leading-none text-zinc-500">
{user?.nip05 || shortenKey(pubkey)}
</span>
</div>
<div>
<p className="line-clamp-3 break-words leading-tight text-zinc-100">
<p className="line-clamp-3 break-all leading-tight text-zinc-100">
{user?.about}
</p>
</div>