update trending profile ui

This commit is contained in:
Ren Amamiya
2023-07-03 17:16:54 +07:00
parent 10c27fd627
commit 1b8eaa2988
6 changed files with 112 additions and 53 deletions

View File

@@ -66,7 +66,7 @@ export function User({
<div className="flex flex-wrap items-baseline gap-1">
<h5
className={`text-zinc-100 font-semibold leading-none truncate ${
size === "small" ? "max-w-[8rem]" : "max-w-[15rem]"
size === "small" ? "max-w-[8rem]" : "max-w-[12rem]"
}`}
>
{user?.nip05 || user?.name || user?.displayName || shortenKey(pubkey)}