fix(frontend): truncate long handles in remote user profile and card
Some checks failed
lint / lint (push) Has been cancelled
test / unit (push) Has been cancelled
test / integration (push) Has been cancelled
lint / lint (pull_request) Failing after 9m8s
test / unit (pull_request) Failing after 10m43s
test / integration (pull_request) Failing after 16m52s

This commit is contained in:
2026-05-14 22:45:06 +02:00
parent df7fcf5096
commit f3df2061e1
2 changed files with 6 additions and 6 deletions

View File

@@ -100,11 +100,11 @@ export function RemoteUserProfile({
)}
</div>
<div className="mt-4">
<h1 className="text-2xl font-bold">
<div className="mt-4 min-w-0">
<h1 className="text-2xl font-bold truncate">
{actor.displayName ?? actor.handle}
</h1>
<p className="text-sm text-muted-foreground">{actor.handle}</p>
<p className="text-sm text-muted-foreground truncate">{actor.handle}</p>
</div>
{actor.bio && (