fix: remove unnecessary min-width css style from AllTools and Blocks components (#29810)

This commit is contained in:
wcc0077
2025-12-18 10:14:29 +08:00
committed by GitHub
parent a377352a9e
commit 114f17f1ca
2 changed files with 2 additions and 2 deletions

View File

@@ -204,7 +204,7 @@ const AllTools = ({
}, [onSelect])
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 h-8 items-center space-x-1'>
{

View File

@@ -134,7 +134,7 @@ const Blocks = ({
}, [groups, onSelect, t, store])
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 && (
<div className='flex h-[22px] items-center px-3 text-xs font-medium text-text-tertiary'>{t('workflow.tabs.noResult')}</div>