From f9311c8459831b7ab7b737140c51688cd85ee123 Mon Sep 17 00:00:00 2001 From: "alan.cl" <1165243776@qq.com> Date: Wed, 11 Mar 2026 15:46:23 +0800 Subject: [PATCH] optimize: optimize collapse panel button --- .../chat/content/ManusRightPanel.tsx | 11 +------- web/pages/index.tsx | 26 +++++++++---------- 2 files changed, 13 insertions(+), 24 deletions(-) diff --git a/web/new-components/chat/content/ManusRightPanel.tsx b/web/new-components/chat/content/ManusRightPanel.tsx index 794e30b75..02d4bebf0 100644 --- a/web/new-components/chat/content/ManusRightPanel.tsx +++ b/web/new-components/chat/content/ManusRightPanel.tsx @@ -1598,16 +1598,7 @@ const ManusRightPanel: React.FC = ({ return (
- {onCollapse && ( - - - - )} + {/* Collapse button is rendered by the parent layout to avoid overflow clipping */} {/* Terminal Header */}
diff --git a/web/pages/index.tsx b/web/pages/index.tsx index 2a2c42d83..38dbc56b9 100644 --- a/web/pages/index.tsx +++ b/web/pages/index.tsx @@ -31,6 +31,7 @@ import { FileOutlined, FilePptOutlined, FileTextOutlined, + LeftOutlined, PaperClipOutlined, PieChartOutlined, PlusOutlined, @@ -2718,20 +2719,17 @@ const Playground: NextPage = () => {
- {rightPanelCollapsed && ( -
- -
- )} + + {/* Panel toggle handle — placed between panels to avoid overflow clipping */} +
+ + +