mirror of
https://git.mirrors.martin98.com/https://github.com/langgenius/dify.git
synced 2025-08-18 09:56:03 +08:00
fix style of textarea in retrivel test
This commit is contained in:
parent
00f91b5dc4
commit
f0285a53d2
@ -5,7 +5,7 @@ import { getIcon } from '../common/retrieval-method-info'
|
|||||||
import s from './style.module.css'
|
import s from './style.module.css'
|
||||||
import Tooltip from '@/app/components/base/tooltip'
|
import Tooltip from '@/app/components/base/tooltip'
|
||||||
import cn from '@/utils/classnames'
|
import cn from '@/utils/classnames'
|
||||||
import Textarea from '@/app/components/base/textarea'
|
// import Textarea from '@/app/components/base/textarea'
|
||||||
import type { HitTestingResponse } from '@/models/datasets'
|
import type { HitTestingResponse } from '@/models/datasets'
|
||||||
import { hitTesting } from '@/service/datasets'
|
import { hitTesting } from '@/service/datasets'
|
||||||
import { asyncRunSafe } from '@/utils'
|
import { asyncRunSafe } from '@/utils'
|
||||||
@ -89,8 +89,8 @@ const TextAreaWithButton = ({
|
|||||||
<div className='h-2 rounded-tl-xl rounded-tr-xl bg-white'></div>
|
<div className='h-2 rounded-tl-xl rounded-tr-xl bg-white'></div>
|
||||||
</div>
|
</div>
|
||||||
<div className='px-4 pb-11'>
|
<div className='px-4 pb-11'>
|
||||||
<Textarea
|
<textarea
|
||||||
className='h-[220px] resize-none'
|
className='h-[220px] border-none resize-none font-normal caret-primary-600 text-gray-700 text-sm w-full focus-visible:outline-none placeholder:text-gray-300 placeholder:text-sm placeholder:font-normal'
|
||||||
value={text}
|
value={text}
|
||||||
onChange={handleTextChange}
|
onChange={handleTextChange}
|
||||||
placeholder={t('datasetHitTesting.input.placeholder') as string}
|
placeholder={t('datasetHitTesting.input.placeholder') as string}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user