feat(style): adjust minimum and maximum width for block-selector and data source components

This commit is contained in:
zhsama 2025-10-14 15:23:28 +08:00
parent bf42386c5b
commit 0fa4b77ff8
2 changed files with 2 additions and 2 deletions

View File

@ -134,7 +134,7 @@ const Blocks = ({
}, [groups, onSelect, t, store])
return (
<div className='max-h-[480px] overflow-y-auto p-1'>
<div className='max-h-[480px] min-w-[400px] max-w-[500px] overflow-y-auto p-1'>
{
isEmpty && (
<div className='flex h-[22px] items-center px-3 text-xs font-medium text-text-tertiary'>{t('workflow.tabs.noResult')}</div>

View File

@ -92,7 +92,7 @@ const DataSources = ({
}, [searchText, enable_marketplace])
return (
<div className={cn(className)}>
<div className={cn('min-w-[400px] max-w-[500px]', className)}>
<div
ref={wrapElemRef}
className='max-h-[464px] overflow-y-auto'