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

This commit is contained in:
GuanMu 2025-04-03 14:03:07 +08:00 committed by GitHub
parent c92bc84316
commit 12faecdf89
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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}