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
@@ -62,6 +62,11 @@
|
||||
padding: 1.5em 1em; // Reduced padding
|
||||
gap: 1em; // Reduced gap
|
||||
|
||||
html.is-macos & {
|
||||
// Overlay titlebar: leave room for the traffic lights.
|
||||
padding-top: 2.9em;
|
||||
}
|
||||
|
||||
&-controls {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
||||
@@ -26,7 +26,7 @@ function SettingsRoute() {
|
||||
navigate({ to: "/home" });
|
||||
}, []);
|
||||
return (
|
||||
<div className="settings-page-container">
|
||||
<div className="settings-page-container" data-tauri-drag-region>
|
||||
<div className="settings-sidebar">
|
||||
<div className="settings-sidebar-controls">
|
||||
<BackButton />
|
||||
|
||||
Reference in new issue
Block a user