mirror of
https://github.com/langgenius/dify.git
synced 2025-12-19 17:27:16 -05:00
fix: remove unnecessary min-width css style from AllTools and Blocks components (#29810)
This commit is contained in:
@@ -204,7 +204,7 @@ const AllTools = ({
|
|||||||
}, [onSelect])
|
}, [onSelect])
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className={cn('min-w-[400px] max-w-[500px]', className)}>
|
<div className={cn('max-w-[500px]', className)}>
|
||||||
<div className='flex items-center justify-between border-b border-divider-subtle px-3'>
|
<div className='flex items-center justify-between border-b border-divider-subtle px-3'>
|
||||||
<div className='flex h-8 items-center space-x-1'>
|
<div className='flex h-8 items-center space-x-1'>
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -134,7 +134,7 @@ const Blocks = ({
|
|||||||
}, [groups, onSelect, t, store])
|
}, [groups, onSelect, t, store])
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className='max-h-[480px] min-w-[400px] max-w-[500px] overflow-y-auto p-1'>
|
<div className='max-h-[480px] max-w-[500px] overflow-y-auto p-1'>
|
||||||
{
|
{
|
||||||
isEmpty && (
|
isEmpty && (
|
||||||
<div className='flex h-[22px] items-center px-3 text-xs font-medium text-text-tertiary'>{t('workflow.tabs.noResult')}</div>
|
<div className='flex h-[22px] items-center px-3 text-xs font-medium text-text-tertiary'>{t('workflow.tabs.noResult')}</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user