diff --git a/frontend/src/components/chat/MessageList.tsx b/frontend/src/components/chat/MessageList.tsx index 56cd53ad..d2577569 100644 --- a/frontend/src/components/chat/MessageList.tsx +++ b/frontend/src/components/chat/MessageList.tsx @@ -3,7 +3,7 @@ import { Avatar, Typography, Space, Tag } from 'antd'; import { UserOutlined, RobotOutlined, LoadingOutlined } from '@ant-design/icons'; import ReactMarkdown from 'react-markdown'; import { Prism as SyntaxHighlighter } from 'react-syntax-highlighter'; -import { vscDarkPlus } from 'react-syntax-highlighter/dist/esm/styles/prism'; +import { oneLight } from 'react-syntax-highlighter/dist/esm/styles/prism'; import remarkGfm from 'remark-gfm'; import './MessageList.css'; @@ -47,9 +47,16 @@ const MessageList: React.FC = ({ const match = /language-(\w+)/.exec(className || ''); return !inline && match ? ( {String(children).replace(/\n$/, '')} diff --git a/frontend/src/components/chat/ModelSelector.tsx b/frontend/src/components/chat/ModelSelector.tsx index a3108bdf..a06148da 100644 --- a/frontend/src/components/chat/ModelSelector.tsx +++ b/frontend/src/components/chat/ModelSelector.tsx @@ -68,7 +68,6 @@ const ModelSelector: React.FC = ({ disabled={disabled} style={{ width: 200 }} className="model-selector" - popupClassName="model-selector-dropdown" > {models.map(model => (