fix(ui): keep sidebar toggle accessible across views

Move the collapsed sidebar reveal control into the app shell so Settings, Scheduler, Speed Limiter, Logs, and Downloads all have a recovery path. Keep separate collapsed spacing for macOS and Windows/Linux window controls to avoid overlap.\n\nFixes #9
This commit is contained in:
NimBold
2026-07-08 16:50:06 +03:30
parent 5fc3c9f965
commit e52e885193
3 changed files with 39 additions and 18 deletions
+17 -1
View File
@@ -1037,6 +1037,18 @@ html[data-list-density="relaxed"] {
background: hsl(var(--workspace-bg));
}
.app-sidebar-reveal-button {
position: absolute;
top: 12px;
left: 88px;
z-index: 80;
-webkit-app-region: no-drag;
}
.app-workspace--custom-window-controls .app-sidebar-reveal-button {
left: 124px;
}
.app-statusbar {
height: 26px;
font-size: 10px;
@@ -1535,10 +1547,14 @@ html[data-list-density="relaxed"] {
background: hsl(var(--statusbar-bg));
}
.main-titlebar--custom-controls-collapsed {
.app-workspace--sidebar-collapsed .main-titlebar {
padding-left: 124px;
}
.app-workspace--sidebar-collapsed.app-workspace--custom-window-controls .main-titlebar {
padding-left: 160px;
}
.main-titlebar-title {
font-size: 14px;
font-weight: 700;