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:
@@ -247,7 +247,7 @@ export const ReasoningTimelineBlock: React.FC<ReasoningTimelineBlockProps> = ({
|
|||||||
aria-controls={contentId}
|
aria-controls={contentId}
|
||||||
aria-label={toggleAriaLabel}
|
aria-label={toggleAriaLabel}
|
||||||
className={cn(
|
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}
|
onClick={handleToggle}
|
||||||
onKeyDown={handleKeyDown}
|
onKeyDown={handleKeyDown}
|
||||||
|
|||||||
@@ -2661,7 +2661,7 @@ const ToolPart: React.FC<ToolPartProps> = ({
|
|||||||
{}
|
{}
|
||||||
<div
|
<div
|
||||||
className={cn(
|
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'
|
isMultiFileApplyPatch ? 'flex-wrap items-start' : 'items-center'
|
||||||
)}
|
)}
|
||||||
onClick={handleMainClick}
|
onClick={handleMainClick}
|
||||||
|
|||||||
Reference in New Issue
Block a user