[PR #5438] tauri: add basic custom titlebar #11406

Closed
opened 2026-02-16 18:16:14 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/anomalyco/opencode/pull/5438

State: closed
Merged: Yes


I've implemented this titlebar as a div that's rendered before the rest of the app. The app itself was previously using h-screen and 100vh, leading to the UI being consistently larger than the viewport (title bar height + h-screen of the app), so I've modified it to use flex-1 instead and have the app's container be responsible for enforcing the full height, and sharing the that space with the title bar.

image
**Original Pull Request:** https://github.com/anomalyco/opencode/pull/5438 **State:** closed **Merged:** Yes --- I've implemented this titlebar as a div that's rendered before the rest of the app. The app itself was previously using `h-screen` and `100vh`, leading to the UI being consistently larger than the viewport (title bar height + `h-screen` of the app), so I've modified it to use `flex-1` instead and have the app's container be responsible for enforcing the full height, and sharing the that space with the title bar. <img width="2246" height="1424" alt="image" src="https://github.com/user-attachments/assets/b5c43334-8fa6-4457-b5e8-2d6ecc5eec71" />
yindo added the pull-request label 2026-02-16 18:16:14 -05:00
yindo closed this issue 2026-02-16 18:16:14 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#11406