Sfoglia il codice sorgente

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

tags/1.2.0
GuanMu 7 mesi fa
parent
commit
12faecdf89
Nessun account collegato all'indirizzo email del committer
1 ha cambiato i file con 2 aggiunte e 1 eliminazioni
  1. 2
    1
      web/app/components/base/tag-input/index.tsx

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

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…
Annulla
Salva