Skip to content

armgit / dify

Public Imported from GitHub
0

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.

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

非法操作678bbf8fe8c5
diff --git a/web/app/components/base/chat/chat/chat-input.tsx b/web/app/components/base/chat/chat/chat-input.tsx
index a90f86402d1..fdb09dc3ae4 100644
--- a/web/app/components/base/chat/chat/chat-input.tsx
+++ b/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}