fix: agent node tool list header width

This commit is contained in:
AkaraChen 2025-01-09 09:55:56 +08:00
parent 4a6a1b9855
commit cc0d864599

View File

@ -82,7 +82,7 @@ const List = forwardRef<{ handleScroll: () => void }, Props>(({
<>
{hasRes && (
<div
className={cn('sticky z-10 flex justify-between h-8 px-4 py-1 text-text-primary system-sm-medium cursor-pointer', stickyClassName, maxWidthClassName)}
className={cn('sticky z-10 flex justify-between h-8 px-4 py-1 text-text-primary system-sm-medium cursor-pointer', stickyClassName, !disableMaxWidth && maxWidthClassName)}
onClick={handleHeadClick}
>
<span>{t('plugin.fromMarketplace')}</span>