minor fixes

This commit is contained in:
Ren Amamiya
2023-06-02 18:32:09 +07:00
parent 48e453fe5c
commit e2491e47c0
10 changed files with 33 additions and 34 deletions

View File

@@ -27,7 +27,7 @@ export function NoteQuoteUser({
</div>
<div className="flex w-full flex-1 items-start justify-between">
<div className="flex items-baseline gap-2 text-base">
<span className="font-semibold leading-none text-white">
<span className="max-w-[10rem] truncate font-semibold leading-none text-white">
{user?.nip05 || user?.name || shortenKey(pubkey)}
</span>
<span className="leading-none text-zinc-500">·</span>