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

@@ -42,9 +42,9 @@ export function RemoteUserCard({ actor }: RemoteUserCardProps) {
className="flex items-center gap-3 hover:opacity-80"
>
<UserAvatar src={actor.avatarUrl} alt={actor.displayName ?? actor.handle} />
<div>
<p className="font-medium">{actor.displayName ?? actor.handle}</p>
<p className="text-sm text-muted-foreground">{actor.handle}</p>
<div className="min-w-0">
<p className="font-medium truncate">{actor.displayName ?? actor.handle}</p>
<p className="text-sm text-muted-foreground truncate">{actor.handle}</p>
</div>
</Link>
<Button