From 17332b6b3ddcdfa35c169f67648cc842380531c8 Mon Sep 17 00:00:00 2001 From: "opencode-agent[bot]" <219766164+opencode-agent[bot]@users.noreply.github.com> Date: Wed, 21 Oct 2026 14:31:57 +0000 Subject: [PATCH] fix(app): show the session header location as icons (#57811) Co-authored-by: usrnk1 <7547651+usrnk1@users.noreply.github.com> --- .../app/src/session/session-identity-header.css | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/packages/app/src/session/session-identity-header.css b/packages/app/src/session/session-identity-header.css index 310f22f0eea..f9b5f37705b 100644 --- a/packages/app/src/session/session-identity-header.css +++ b/packages/app/src/session/session-identity-header.css @@ -20,6 +20,20 @@ .session-header-location > [data-slot="session-location-trigger"] { max-inline-size: 100%; + gap: 6px; + padding-inline: 4px; +} + +/* The header shows the location as the project avatar and, in a worktree, the worktree icon, so the title keeps the + row. The names stay for assistive tech, and the location card shows them in full. */ +.session-header-location [data-slot="session-location-project"], +.session-header-location [data-slot="session-location-worktree"] { + position: absolute; + inline-size: 1px; + block-size: 1px; + overflow: hidden; + clip-path: inset(50%); + white-space: nowrap; } .session-header-title {