From 5447e810a8022e3729dcffdb74ce2bf121416cee Mon Sep 17 00:00:00 2001 From: Cho Young-Hwi Date: Wed, 1 Apr 2026 14:34:24 +0100 Subject: [PATCH] [#708] Fix long username overflow on mobile profile header - Responsive font: text-lg on mobile for names >14 chars, text-xl otherwise, text-2xl on sm+ breakpoint - Replace truncate with break-words so names display fully - Add flex-wrap so badges flow naturally on narrow screens - Add shrink-0 on badges to prevent compression Co-Authored-By: Claude Opus 4.6 (1M context) --- src/app/profile/[address]/page.tsx | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/app/profile/[address]/page.tsx b/src/app/profile/[address]/page.tsx index 6cf9abed..0a1b9973 100644 --- a/src/app/profile/[address]/page.tsx +++ b/src/app/profile/[address]/page.tsx @@ -255,19 +255,21 @@ function ProfileHeader({ )}
-
-

+
+

14 ? "text-lg sm:text-2xl" : "text-xl sm:text-2xl" + }`}> {fcLoading && agentLoading ? truncateAddress(address) : displayName ?? truncateAddress(address)}

{!agentLoading && ( isAgent ? ( - + AI Agent ) : ( - + Human )