Skip to content

Use native title bar on macOS - #357

Merged
morishin merged 1 commit into
masterfrom
fix/macos-native-titlebar
May 28, 2026
Merged

Use native title bar on macOS#357
morishin merged 1 commit into
masterfrom
fix/macos-native-titlebar

Conversation

@morishin

@morishin morishin commented May 28, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Stop using titleBarStyle: "hidden" on macOS and show the native title bar instead.
  • Fixes the issue where the macOS traffic light buttons (close/minimize/maximize) overflowed the narrow (68px) sidebar onto the query list area.
  • Remove the drag regions (-webkit-app-region: drag / no-drag), darwin classNames, and the sidebar padding-top: 32px that existed only to accommodate the overlaid window controls.

Test plan

  • Launch the app on macOS and confirm the native title bar is shown.
  • Confirm the traffic light buttons no longer overflow the sidebar.
  • Confirm there is no extra top padding above the first sidebar icon.
  • Confirm the query list / data source list headers still render and work as before.

🤖 Generated with Claude Code

before after
スクリーンショット 2026-05-28 15 14 13 スクリーンショット 2026-05-28 15 16 44

The hidden title bar caused the macOS traffic light buttons to overflow
the narrow (68px) sidebar onto the query list area. Switch to the native
title bar and remove the now-unnecessary drag regions and top padding
that existed only to accommodate the overlaid window controls.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@morishin morishin changed the title macOS でネイティブのタイトルバーを使う Use native title bar on macOS May 28, 2026
@morishin
morishin marked this pull request as ready for review May 28, 2026 06:20
@morishin
morishin merged commit d5b97a9 into master May 28, 2026
2 checks passed
@morishin
morishin deleted the fix/macos-native-titlebar branch May 28, 2026 06:21
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