style: align chat tool row spacing

Match collapsible tool height with read-only rows
Reduce extra vertical padding on reasoning rows
This commit is contained in:
Bohdan Triapitsyn
2026-05-25 00:52:33 +03:00
parent 9bd31e1fc4
commit 636e2ac75f
2 changed files with 2 additions and 2 deletions
@@ -247,7 +247,7 @@ export const ReasoningTimelineBlock: React.FC<ReasoningTimelineBlockProps> = ({
aria-controls={contentId}
aria-label={toggleAriaLabel}
className={cn(
'group/tool flex gap-1.5 pr-2 pl-px py-2 rounded-xl cursor-pointer items-center',
'group/tool flex gap-1.5 pr-2 pl-px py-1.5 rounded-xl cursor-pointer items-center',
)}
onClick={handleToggle}
onKeyDown={handleKeyDown}
@@ -2661,7 +2661,7 @@ const ToolPart: React.FC<ToolPartProps> = ({
{}
<div
className={cn(
'group/tool flex gap-1.5 pr-2 pl-px py-2 rounded-xl cursor-pointer',
'group/tool flex gap-1.5 pr-2 pl-px py-1.5 rounded-xl cursor-pointer',
isMultiFileApplyPatch ? 'flex-wrap items-start' : 'items-center'
)}
onClick={handleMainClick}