From 056ea68e52f8ff5dc474bf069a91cd7de59c32de Mon Sep 17 00:00:00 2001 From: balibabu Date: Fri, 11 Apr 2025 12:37:16 +0800 Subject: [PATCH] Fix: In the dark night theme, the message input box is not displayed correctly. #6950 (#6951) ### What problem does this PR solve? Fix: In the dark night theme, the message input box is not displayed correctly. #6950 ### Type of change - [x] New Feature (non-breaking change which adds functionality) --- web/src/components/message-input/index.less | 1 - web/src/components/message-input/index.tsx | 7 ++++++- web/src/locales/en.ts | 5 ++--- web/src/pages/chat/chat-configuration-modal/index.tsx | 6 +++--- 4 files changed, 11 insertions(+), 8 deletions(-) diff --git a/web/src/components/message-input/index.less b/web/src/components/message-input/index.less index 89ed1b74..ce2ef775 100644 --- a/web/src/components/message-input/index.less +++ b/web/src/components/message-input/index.less @@ -1,7 +1,6 @@ .messageInputWrapper { margin-right: 20px; padding: '0px 0px 10px 0px'; - background-color: #ffffff; border: 1px solid #d9d9d9; &:hover { border-color: #40a9ff; diff --git a/web/src/components/message-input/index.tsx b/web/src/components/message-input/index.tsx index 529ce73e..95a4ee19 100644 --- a/web/src/components/message-input/index.tsx +++ b/web/src/components/message-input/index.tsx @@ -5,6 +5,7 @@ import { useRemoveNextDocument, useUploadAndParseDocument, } from '@/hooks/document-hooks'; +import { cn } from '@/lib/utils'; import { getExtension } from '@/utils/document-util'; import { formatBytes } from '@/utils/file-util'; import { @@ -222,7 +223,11 @@ const MessageInput = ({ }, [conversationId, setFileList]); return ( - +