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,