fix: search ui broken in explore page

This commit is contained in:
Joel
2025-05-29 10:41:56 +08:00
parent 29f9faf049
commit f5d18d4e28
2 changed files with 2 additions and 1 deletions

View File

@ -35,7 +35,7 @@ const SearchBox = ({
className='z-[11] flex items-center'
>
<div className={
cn('flex grow items-center',
cn('flex items-center',
size === 'large' && 'rounded-xl border border-components-chat-input-border bg-components-panel-bg-blur p-1.5 shadow-md',
size === 'small' && 'rounded-lg bg-components-input-bg-normal p-0.5',
inputClassName,

View File

@ -153,6 +153,7 @@ const NodeSelector: FC<NodeSelectorProps> = ({
onTagsChange={setTags}
size='small'
placeholder={t('plugin.searchTools')!}
inputClassName='grow'
/>
)}
</div>