Skip to content

Commit 4c98299

Browse files
fix(ui): open completed-work spacing
1 parent 4749082 commit 4c98299

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

‎ui/src/pages/chat/chat-responsive.browser.test.ts‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1267,9 +1267,9 @@ describeBrowserLayout.concurrent("chat responsive browser layout", () => {
12671267
});
12681268

12691269
it.each([
1270-
{ label: "desktop", width: 1366, hasTouch: false, expectedGap: 4 },
1271-
{ label: "narrow touch", width: 430, hasTouch: true, expectedGap: 18 },
1272-
{ label: "wide touch", width: 1366, hasTouch: true, expectedGap: 18 },
1270+
{ label: "desktop", width: 1366, hasTouch: false, expectedGap: 9 },
1271+
{ label: "narrow touch", width: 430, hasTouch: true, expectedGap: 23 },
1272+
{ label: "wide touch", width: 1366, hasTouch: true, expectedGap: 23 },
12731273
])("balances completed-work spacing on $label", async ({ width, hasTouch, expectedGap }) => {
12741274
const page = await openBrowserPage(width, 720, { hasTouch, isolated: true });
12751275
try {

‎ui/src/styles/chat/tool-cards.css‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1130,10 +1130,10 @@
11301130
}
11311131

11321132
/* Completed-turn work rollup: slim "Worked for X" disclosure standing in for
1133-
the turn's intermediate tool/commentary groups. Redistribute its existing
1134-
gap so it separates from the prompt while staying grouped with the reply. */
1133+
the turn's intermediate tool/commentary groups. Keep it equally separated
1134+
from the prompt and final reply. */
11351135
.chat-group--work {
1136-
padding-block: 4px;
1136+
padding-block: 9px;
11371137
}
11381138

11391139
.chat-work-group .chat-activity-group__label {

0 commit comments

Comments
 (0)