feat: custom in-app titlebar with overlay window chrome
- macOS: titleBarStyle Overlay + hiddenTitle, traffic lights aligned with the header - header itself is the titlebar: draggable regions, no native glass strip - solid (not blurred) header surfaces once content scrolls - keep traffic lights clear of controls on library/login/settings pages
This commit is contained in:
1 parent
61ebc66127
commit
1c499f42ec
9 files changed
+52
-50
No files matched your search
@@ -95,6 +95,11 @@ function ProviderWrapper() {
|
||||
}
|
||||
|
||||
const init = async () => {
|
||||
// The window is frameless-ish on macOS (overlay titlebar): the app header is the titlebar.
|
||||
if (navigator.userAgent.includes("Macintosh")) {
|
||||
document.documentElement.classList.add("is-macos");
|
||||
}
|
||||
|
||||
const initialApi = await initializeApi();
|
||||
|
||||
ReactDOM.createRoot(document.getElementById("root")!).render(
|
||||
|
||||
Reference in new issue
Block a user