From 672ad29e5dcc7c7d55a43247867b9ffc438c1143 Mon Sep 17 00:00:00 2001 From: lyzno1 Date: Wed, 10 Sep 2025 22:58:00 +0800 Subject: [PATCH] Integrate Streamdown and optimize chat layout MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Replace react-markdown with Streamdown for better streaming support - Fix input box positioning with proper sidebar offset - Optimize scrolling behavior with main container handling scroll - Add max-width constraint for assistant messages - Ensure proper spacing to prevent input box overlap 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude --- app/components/chat/index.tsx | 2 +- app/components/index.tsx | 22 ++++++++++------------ 2 files changed, 11 insertions(+), 13 deletions(-) diff --git a/app/components/chat/index.tsx b/app/components/chat/index.tsx index fc67d85..9ded7bb 100644 --- a/app/components/chat/index.tsx +++ b/app/components/chat/index.tsx @@ -174,7 +174,7 @@ const Chat: FC = ({ { !isHideSendInput && ( -
+
{ visionConfig?.enabled && ( diff --git a/app/components/index.tsx b/app/components/index.tsx index cafcc5f..8f610f2 100644 --- a/app/components/index.tsx +++ b/app/components/index.tsx @@ -703,18 +703,16 @@ const Main: FC = () => { { hasSetInputs && ( -
-
- -
+
+
) }