Browse Source

fix: update tag input border styles for special mode and focus state (#17393)

tags/1.2.0
GuanMu 7 months ago
parent
commit
12faecdf89
No account linked to committer's email address
1 changed files with 2 additions and 1 deletions
  1. 2
    1
      web/app/components/base/tag-input/index.tsx

+ 2
- 1
web/app/components/base/tag-input/index.tsx View File

@@ -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}

Loading…
Cancel
Save