mirror of https://github.com/langgenius/dify.git
feat(style): adjust minimum and maximum width for block-selector and data source components
This commit is contained in:
parent
bf42386c5b
commit
0fa4b77ff8
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -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'
|
||||
|
|
|
|||
Loading…
Reference in New Issue