From 609e7cea6962bb3b400be180a6c85aea83951b49 Mon Sep 17 00:00:00 2001 From: Yaojia Wang Date: Wed, 29 Jul 2026 18:43:05 +0200 Subject: [PATCH] fix(projects): stop stranding the worktree path across the card margin-left:auto was correct for the old single-line row, where it pushed the path to the far right of a flex row. The two-line card stacks branch over path in a column, so the same declaration shoved the path to the opposite edge from the branch it labels. Removed, with a note saying why it must not come back. Same shape as the .proj-wt-row duplicate earlier in this series: an element reused in a new layout kept a positioning declaration that only made sense in the old one. Caught by screenshot; the DOM assertions could not see it. --- public/style.css | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/public/style.css b/public/style.css index 0122893..7f18520 100644 --- a/public/style.css +++ b/public/style.css @@ -2473,7 +2473,9 @@ body { color: var(--on-accent); } .proj-wt-path { - margin-left: auto; + /* No margin-left:auto — that was for the old single-line row, where it pushed + the path to the far right. Inside the two-line card it sits directly under + the branch it belongs to, so auto margin would strand it across the card. */ font-family: Menlo, Consolas, monospace; font-size: 11px; color: var(--text-faint);