From b589d733ca2ab59f1f8e6a375d3e2faa28c84bdd Mon Sep 17 00:00:00 2001 From: Naiyuan Qing <145280634+NevilleQingNY@users.noreply.github.com> Date: Tue, 31 Mar 2026 19:13:47 +0800 Subject: [PATCH] fix(inbox): pin header and only scroll content in inbox list panel The inbox left panel had the header inside the overflow-y-auto container, causing it to scroll away with the list items. Changed to flex-col layout with shrink-0 header and flex-1 overflow-y-auto content area. Co-Authored-By: Claude Opus 4.6 (1M context) --- apps/web/app/(dashboard)/inbox/page.tsx | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/apps/web/app/(dashboard)/inbox/page.tsx b/apps/web/app/(dashboard)/inbox/page.tsx index 1bd8ee89..65b3191b 100644 --- a/apps/web/app/(dashboard)/inbox/page.tsx +++ b/apps/web/app/(dashboard)/inbox/page.tsx @@ -309,11 +309,11 @@ export default function InboxPage() { return ( -
-
+
+
-
+
{Array.from({ length: 5 }).map((_, i) => (
@@ -341,8 +341,8 @@ export default function InboxPage() { {/* Left column — inbox list */} -
-
+
+

Inbox

{unreadCount > 0 && ( @@ -385,6 +385,7 @@ export default function InboxPage() {
+
{items.length === 0 ? (
@@ -403,6 +404,7 @@ export default function InboxPage() { ))}
)} +