Skip to content

Commit 15b069c

Browse files
authored
fix(chat-pane): tighten tool call group rail spacing (#294)
1 parent a242b3d commit 15b069c

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

src/renderer/components/thread/ChatPane/parts/items/ToolCallGroup.test.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ describe("ToolCallGroup", () => {
3939
expect(viewport.className).not.toContain("overflow-y-auto");
4040
expect(viewport).toHaveClass("gap-0.5");
4141
expect(body).toHaveClass("border-l", "border-dashed");
42+
expect(body).toHaveClass("ml-1.5", "pl-2.5");
4243
expect(body).not.toHaveClass("border-t");
4344
expect(showAll.parentElement).toHaveClass("justify-start");
4445
expect(showAll).toHaveClass("-ml-1");

src/renderer/components/thread/ChatPane/parts/items/ToolCallGroup.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ export const ToolCallGroup = memo(function ToolCallGroup({
148148
</Disclosure.Trigger>
149149
</Disclosure.Heading>
150150
<Disclosure.Content>
151-
<Disclosure.Body className={`ml-3 ${chatRowRailClass} pb-0 pl-3 pt-0`}>
151+
<Disclosure.Body className={`ml-1.5 ${chatRowRailClass} pb-0 pl-2.5 pt-0`}>
152152
{hasOverflowRows && !sameFileEditSummary ? (
153153
<div className="mb-0.5 flex justify-start">
154154
<button

0 commit comments

Comments
 (0)