From 31d72be98cfecd96fc040f1ce7938e5cbe78a7ed Mon Sep 17 00:00:00 2001 From: AIanaysis Date: Thu, 16 Jul 2026 17:33:09 +0800 Subject: [PATCH 1/2] fix: chat page not full width, scrollbar only works in middle area - Remove max-width constraint on chat scroll container to make it fill full width - Keep message content and input box original centered 960px width for readability - Scrollbar now appears at the far right of the page, works on entire area --- .../home/[[...sessionId]]/page.tsx | 48 +++++++++++-------- 1 file changed, 27 insertions(+), 21 deletions(-) diff --git a/web/app/(workspace)/home/[[...sessionId]]/page.tsx b/web/app/(workspace)/home/[[...sessionId]]/page.tsx index 17d5bfee0..8d7487cf5 100644 --- a/web/app/(workspace)/home/[[...sessionId]]/page.tsx +++ b/web/app/(workspace)/home/[[...sessionId]]/page.tsx @@ -1852,12 +1852,16 @@ export default function ChatPage() { /> -
+
{sessionLoading ? ( - +
+
+ +
+
) : !hasMessages ? ( -
-
+
+
DeepTutor { @@ -1899,22 +1903,24 @@ export default function ChatPage() { : undefined } > - -
+
+ +
+
)} From 97815834557af5c69b403bf3440c54bcc8da092c Mon Sep 17 00:00:00 2001 From: "Bingxi Zhao (Frank)" <13051345080@163.com> Date: Sun, 19 Jul 2026 01:09:47 +0800 Subject: [PATCH 2/2] fix: restore composer/message column alignment and loading-view height The full-width refactor removed the parent px-6 inset the composer used to sit inside, leaving the composer card 48px wider than the message column. The composer root now carries its own px-6 (with the empty-state cap bumped 720->768 so content width is unchanged in both states), and the session-loading wrapper passes full height through so SessionLoadingView's absolutely-positioned cancel button stays at the chat-area corner instead of collapsing next to the spinner. Co-Authored-By: Claude Opus 4.8 (1M context) --- web/app/(workspace)/home/[[...sessionId]]/page.tsx | 4 ++-- web/components/chat/home/ChatComposer.tsx | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/web/app/(workspace)/home/[[...sessionId]]/page.tsx b/web/app/(workspace)/home/[[...sessionId]]/page.tsx index 9f872d605..222ecdb4e 100644 --- a/web/app/(workspace)/home/[[...sessionId]]/page.tsx +++ b/web/app/(workspace)/home/[[...sessionId]]/page.tsx @@ -1858,8 +1858,8 @@ export default function ChatPage() {
{sessionLoading ? ( -
-
+
+
diff --git a/web/components/chat/home/ChatComposer.tsx b/web/components/chat/home/ChatComposer.tsx index 8c5f88e33..d9a1019f1 100644 --- a/web/components/chat/home/ChatComposer.tsx +++ b/web/components/chat/home/ChatComposer.tsx @@ -551,7 +551,7 @@ export default memo(function ChatComposer({ return (