From 9280eb515c93e257f1db6a948aa6e0667b5a9c00 Mon Sep 17 00:00:00 2001 From: Cho Young-Hwi Date: Tue, 24 Mar 2026 20:29:17 +0000 Subject: [PATCH 1/2] [#512] Fix profile activity feed layout on mobile Stack FeedRow into two rows on mobile (title on row 1, detail + date on row 2) to prevent text overflow, title truncation, and "PLOT" merging with dates. Stays horizontal on sm+ screens. Co-Authored-By: Claude Opus 4.6 (1M context) --- src/app/profile/[address]/page.tsx | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/src/app/profile/[address]/page.tsx b/src/app/profile/[address]/page.tsx index 14676210..bc371c37 100644 --- a/src/app/profile/[address]/page.tsx +++ b/src/app/profile/[address]/page.tsx @@ -1079,7 +1079,8 @@ const EVENT_COLORS: Record = { function FeedRow({ entry }: { entry: FeedEntry }) { return ( -
+
+ {/* Row 1 (mobile) / Left (desktop): event type + story title */}
{EVENT_LABELS[entry.type]} @@ -1094,12 +1095,13 @@ function FeedRow({ entry }: { entry: FeedEntry }) { ) : ( Royalties )} +
+ {/* Row 2 (mobile) / Right (desktop): detail + date + tx link */} +
{entry.detail && ( - {entry.detail} + {entry.detail} )} -
-
-
{/* Row 2 (mobile) / Right (desktop): detail + date + tx link */} -
+
{entry.detail && ( - {entry.detail} + {entry.detail} )}