mirror of
https://git.mirrors.martin98.com/https://github.com/langgenius/dify.git
synced 2025-08-12 18:19:11 +08:00
fix: update tag input border styles for special mode and focus state (#17393)
This commit is contained in:
parent
c92bc84316
commit
12faecdf89
@ -99,7 +99,8 @@ const TagInput: FC<TagInputProps> = ({
|
|||||||
isInWorkflow && 'max-w-[146px]',
|
isInWorkflow && 'max-w-[146px]',
|
||||||
`
|
`
|
||||||
system-xs-regular overflow-hidden rounded-md py-1
|
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)}
|
onFocus={() => setFocused(true)}
|
||||||
onBlur={handleBlur}
|
onBlur={handleBlur}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user