Skip to content

fix(sidebar): clip dev branch name in title bar - #81

Merged
frenchie4111 merged 1 commit into
mainfrom
fix-dev-branch-name-overflows-header
May 25, 2026
Merged

fix(sidebar): clip dev branch name in title bar#81
frenchie4111 merged 1 commit into
mainfrom
fix-dev-branch-name-overflows-header

Conversation

@frenchie4111

Copy link
Copy Markdown
Collaborator

Summary

  • In dev mode the sidebar title bar shows `Harness ()`. With a narrow sidebar + long branch name (e.g. `fix-hydrate-remote-backend-poisons-active`), the branch ran off the right edge of the sidebar.
  • Add `right-2 overflow-hidden text-ellipsis` to the absolute-positioned title span so it now clips/truncates cleanly within the sidebar bounds.

Test plan

  • `npm run typecheck` clean
  • `npx electron-vite build` clean
  • Visually confirm in dev with a long branch name at narrow sidebar width — "Harness" stays visible to the left of the traffic-light gap and the branch name gets clipped with an ellipsis inside the sidebar.

…verflow sidebar edge

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@frenchie4111
frenchie4111 merged commit 3b51fe5 into main May 25, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant