Skip to content

Local-first AI coding agent desktop: Electron + Rust host core + pi Agent Harness + user-installable plugins

fix(chat): keep the hairline header on the transcript edge

v_wyxgwang26f9fdf6d364
diff --git a/apps/desktop/src/styles/messages.css b/apps/desktop/src/styles/messages.css
index 315932175..a8cca7136 100644
--- a/apps/desktop/src/styles/messages.css
+++ b/apps/desktop/src/styles/messages.css
@@ -3472,7 +3472,6 @@
* band. Hover only strengthens the ink; no background fill is involved.
*/
.turn-process > .tool-activity-header {
- gap: 6px;
margin: 0;
border-radius: 0;
border-bottom: 1px solid var(--ds-border-subtle);
diff --git a/scripts/e2e/turn-process.tsx b/scripts/e2e/turn-process.tsx
index 7ee20cade..daf54efb9 100644
--- a/scripts/e2e/turn-process.tsx
+++ b/scripts/e2e/turn-process.tsx
@@ -258,9 +258,17 @@ export async function turnProcessProbe() {
"turn, group and run titles share one text line",
);
check(
- nearLeft(leftOf(topHeader), leftOf(nestedHeader)) &&
+ topHeader !== null &&
+ Math.abs(
+ topHeader.getBoundingClientRect().width -
+ container.getBoundingClientRect().width,
+ ) < 1,
+ "the turn header hairline spans the transcript band",
+ );
+ check(
+ nearLeft(leftOf(topHeader), leftOf(topIcon)) &&
nearLeft(leftOf(nestedHeader), leftOf(bashHead)),
- "turn, group and run header fills share one left edge",
+ "the turn row starts at the prose edge and nested fills share their gutter",
);
check(
owns(topHeader, pointIn(topIcon)) &&