Browse Source

fix: knowledge setting "knowledge name" input width (#7584)

tags/0.7.2
Yi Xiao 1 year ago
parent
commit
25386af41a
No account linked to committer's email address
1 changed files with 8 additions and 6 deletions
  1. 8
    6
      web/app/components/datasets/settings/form/index.tsx

+ 8
- 6
web/app/components/datasets/settings/form/index.tsx View File

@@ -163,12 +163,14 @@ const Form = () => {
<div className={labelClass}>
<div>{t('datasetSettings.form.name')}</div>
</div>
<input
disabled={!currentDataset?.embedding_available}
className={cn(inputClass, !currentDataset?.embedding_available && 'opacity-60', 'h-9')}
value={name}
onChange={e => setName(e.target.value)}
/>
<div className='w-full max-w-[480px]'>
<input
disabled={!currentDataset?.embedding_available}
className={cn(inputClass, !currentDataset?.embedding_available && 'opacity-60', 'h-9')}
value={name}
onChange={e => setName(e.target.value)}
/>
</div>
</div>
<div className={rowClass}>
<div className={labelClass}>

Loading…
Cancel
Save