From 2cf6422169d3b115ab147a9178f509766284a4ef Mon Sep 17 00:00:00 2001 From: thzxx Date: Sat, 27 Jun 2026 22:44:32 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E5=BA=95=E9=83=A8=E6=A0=8F=E5=8A=A0?= =?UTF-8?q?=E9=AB=98=E8=87=B336px=EF=BC=8C=E5=AD=97=E4=BD=93+=E5=9B=BE?= =?UTF-8?q?=E6=A0=87=E5=8A=A0=E5=A4=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/layout/StatusBar.tsx | 16 ++++++++-------- src/lib/constants.ts | 2 +- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/src/components/layout/StatusBar.tsx b/src/components/layout/StatusBar.tsx index 5457f3e..6576cf3 100644 --- a/src/components/layout/StatusBar.tsx +++ b/src/components/layout/StatusBar.tsx @@ -23,14 +23,14 @@ export function StatusBar(): React.JSX.Element { component="footer" sx={{ flexShrink: 0, display: 'flex', alignItems: 'center', - px: 1.5, height: 32, bgcolor: 'background.paper', + px: 2, height: 36, bgcolor: 'background.paper', borderTop: 1, borderColor: 'divider', userSelect: 'none', }} > {/* 左侧:状态信息表格 */} @@ -38,18 +38,18 @@ export function StatusBar(): React.JSX.Element { - + {AGENT_STATUS_LABELS[agentStatus]} | - + {PROVIDER_LABELS[provider] ?? provider} {model} {tokenUsage.totalTokens > 0 && ( @@ -66,10 +66,10 @@ export function StatusBar(): React.JSX.Element { {/* 右侧:版本 + 设置 */} - v0.1.0 + v0.1.0 - - + + diff --git a/src/lib/constants.ts b/src/lib/constants.ts index a6cdaed..f7a32a3 100644 --- a/src/lib/constants.ts +++ b/src/lib/constants.ts @@ -8,7 +8,7 @@ export const LAYOUT = { HEADER_HEIGHT: 0, // 已移除顶部栏 - STATUS_BAR_HEIGHT: 32, + STATUS_BAR_HEIGHT: 36, SIDEBAR_WIDTH: 260, DETAIL_WIDTH: 320, CHAT_MAX_WIDTH: 768,