fix: tool item not align to center

This commit is contained in:
Joel
2026-02-10 13:58:14 +08:00
parent 4d439028e5
commit b906188cf9

View File

@ -112,7 +112,7 @@ const ToolItem: FC<Props> = ({
})
}}
>
<div className={cn('h-8 truncate border-l-2 border-divider-subtle pl-4 leading-8 text-text-secondary system-sm-medium')}>
<div className={cn('flex h-8 items-center truncate border-l-2 border-divider-subtle pl-4 text-text-secondary system-sm-medium')}>
<span className={cn(disabled && 'opacity-30')}>{payload.label[language]}</span>
</div>
{isAdded && (