Browse Source

fix: upload img icon mis-align in the chat input area (#8263)

非法操作 7 months ago
parent
commit
678bbf8fe8
1 changed files with 1 additions and 1 deletions
  1. 1 1
      web/app/components/base/chat/chat/chat-input.tsx

+ 1 - 1
web/app/components/base/chat/chat/chat-input.tsx

@@ -159,7 +159,7 @@ const ChatInput: FC<ChatInputProps> = ({
           {
             visionConfig?.enabled && (
               <>
-                <div className='absolute bottom-2 left-2 flex items-center'>
+                <div className={cn('absolute bottom-2 flex items-center', noSpacing ? 'left-2' : 'left-10')}>
                   <ChatImageUploader
                     settings={visionConfig}
                     onUpload={onUpload}