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: update tag input border styles for special mode and focus state (#17393)

GuanMu12faecdf895f
diff --git a/web/app/components/base/tag-input/index.tsx b/web/app/components/base/tag-input/index.tsx
index a03a8af7e4a..f3df585d483 100644
--- a/web/app/components/base/tag-input/index.tsx
+++ b/web/app/components/base/tag-input/index.tsx
@@ -99,7 +99,8 @@ const TagInput: FC<TagInputProps> = ({
isInWorkflow && 'max-w-[146px]',
`
system-xs-regular overflow-hidden rounded-md py-1
- ${focused && isSpecialMode && 'border border-dashed border-divider-deep px-1.5'}
+ ${isSpecialMode && 'border border-transparent px-1.5'}
+ ${focused && isSpecialMode && 'border-dashed border-divider-deep'}
`)}
onFocus={() => setFocused(true)}
onBlur={handleBlur}