[fix]:[FL-225][修复AI问答页面用户消息输入框不兼容暗黑主题]
Co-authored-by: multica-agent <github@multica.ai>
This commit is contained in:
@@ -557,6 +557,7 @@ export default function AiChatPage() {
|
|||||||
|
|
||||||
{/* Input Area for new conversation */}
|
{/* Input Area for new conversation */}
|
||||||
<div
|
<div
|
||||||
|
className="ai-chat-input-area"
|
||||||
style={{
|
style={{
|
||||||
padding: "16px 24px",
|
padding: "16px 24px",
|
||||||
borderTop: "1px solid var(--ant-color-border-secondary)",
|
borderTop: "1px solid var(--ant-color-border-secondary)",
|
||||||
@@ -565,6 +566,7 @@ export default function AiChatPage() {
|
|||||||
>
|
>
|
||||||
<div style={{ display: "flex", gap: 12, alignItems: "flex-end" }}>
|
<div style={{ display: "flex", gap: 12, alignItems: "flex-end" }}>
|
||||||
<TextArea
|
<TextArea
|
||||||
|
className="ai-chat-textarea"
|
||||||
value={messageInput}
|
value={messageInput}
|
||||||
onChange={(e) => setMessageInput(e.target.value)}
|
onChange={(e) => setMessageInput(e.target.value)}
|
||||||
placeholder="输入您的问题...(Shift + Enter 换行,Enter 发送)"
|
placeholder="输入您的问题...(Shift + Enter 换行,Enter 发送)"
|
||||||
@@ -583,6 +585,7 @@ export default function AiChatPage() {
|
|||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
<Button
|
<Button
|
||||||
|
className="ai-chat-send-button"
|
||||||
type="primary"
|
type="primary"
|
||||||
icon={<SendOutlined />}
|
icon={<SendOutlined />}
|
||||||
loading={sendMessageMutation.isPending || createConvMutation.isPending}
|
loading={sendMessageMutation.isPending || createConvMutation.isPending}
|
||||||
|
|||||||
Reference in New Issue
Block a user