fix: agent node tool list header width

pull/12560/head
AkaraChen 1 year ago
parent 4a6a1b9855
commit cc0d864599

@ -82,7 +82,7 @@ const List = forwardRef<{ handleScroll: () => void }, Props>(({
<> <>
{hasRes && ( {hasRes && (
<div <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} onClick={handleHeadClick}
> >
<span>{t('plugin.fromMarketplace')}</span> <span>{t('plugin.fromMarketplace')}</span>

Loading…
Cancel
Save