diff --git a/src/components/chat/ChatInput.tsx b/src/components/chat/ChatInput.tsx index 3cb307b..4d2b3e4 100644 --- a/src/components/chat/ChatInput.tsx +++ b/src/components/chat/ChatInput.tsx @@ -248,7 +248,7 @@ export function ChatInput(): React.JSX.Element { onPaste={handlePaste} placeholder="输入消息... (Enter 发送, Ctrl+Enter 换行, / 命令)" disabled={isStreaming} rows={1} - style={{ width: '100%', background: 'transparent', border: 'none', outline: 'none', color: 'inherit', fontSize: 14, lineHeight: '28px', resize: 'none', fontFamily: 'inherit', minHeight: 36, maxHeight: 160 }} + style={{ width: '100%', background: 'transparent', border: 'none', outline: 'none', color: 'inherit', fontSize: 14, lineHeight: '28px', resize: 'none', fontFamily: 'inherit', minHeight: 42, maxHeight: 160 }} /> diff --git a/src/components/chat/MessageList.tsx b/src/components/chat/MessageList.tsx index 1c6c3a0..3a9b64b 100644 --- a/src/components/chat/MessageList.tsx +++ b/src/components/chat/MessageList.tsx @@ -20,10 +20,10 @@ export function MessageList(): React.JSX.Element { return ( - - MetonaAI Desktop - 生产级通用 AI Agent 智能体桌面应用 - Agent 就绪 · 选择一个 Provider 开始对话 + + MetonaAI Desktop + 生产级通用 AI Agent 智能体桌面应用 + Agent 就绪 · 选择一个 Provider 开始对话 ); diff --git a/src/styles/globals.css b/src/styles/globals.css index 4c05b07..9a90305 100644 --- a/src/styles/globals.css +++ b/src/styles/globals.css @@ -1,4 +1,5 @@ @import "tailwindcss"; +@import "highlight.js/styles/atom-one-dark.css"; /* ===== MetonaAI Desktop — 全局样式 ===== */