From 4c31aaaf6afbc7f260feced9225c16c36bf08988 Mon Sep 17 00:00:00 2001 From: dingxiaobo Date: Sat, 10 Oct 2026 13:29:31 +0800 Subject: [PATCH] feat(sidebar): color branch label and group name, widen branch to 20ch - session-tree-branch: max-width 78px -> 20ch (mono, ~18 branch chars before ellipsis) - session-tree-branch: color text-dim -> accent (aligns with linked worktree icon) - session-tree-group-name: add color accent --- app/sidebar.css | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/app/sidebar.css b/app/sidebar.css index 3baf753dff..11b1f80deb 100644 --- a/app/sidebar.css +++ b/app/sidebar.css @@ -281,9 +281,9 @@ .session-tree-branch { flex: none; - max-width: 78px; + max-width: 20ch; overflow: hidden; - color: var(--text-dim); + color: var(--accent); font-family: var(--font-mono); font-size: 10px; text-overflow: ellipsis; @@ -564,6 +564,7 @@ min-width: 0; overflow: hidden; text-overflow: ellipsis; + color: var(--accent); } .session-tree-group-pin {