Skip to content

fix(desktop): align sidebar toggle with macOS traffic lights#313

Merged
mrcfps merged 2 commits intomainfrom
fix/sidebar-toggle-align-traffic-lights
Mar 20, 2026
Merged

fix(desktop): align sidebar toggle with macOS traffic lights#313
mrcfps merged 2 commits intomainfrom
fix/sidebar-toggle-align-traffic-lights

Conversation

@anthhub
Copy link
Copy Markdown

@anthhub anthhub commented Mar 20, 2026

Summary

  • Adjust sidebar collapse/expand button top from 6px to 10px to vertically center-align with macOS traffic light buttons (trafficLightPosition.y: 18)

Test plan

  • Launch desktop app, verify sidebar toggle button is vertically aligned with red/yellow/green traffic lights
  • Toggle sidebar collapsed/expanded, verify alignment holds in both states

Generated with Claude Code

anthhub and others added 2 commits March 20, 2026 20:55
trafficLightPosition.y is 18px, so traffic light center is at 24px.
Button height is 28px (16px icon + 12px padding), so top: 10px
places button center at 24px — pixel-perfect vertical alignment.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
…t alignment

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@mrcfps mrcfps merged commit b65e174 into main Mar 20, 2026
6 checks 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.

2 participants