Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion frontend/src/renderer/routes/_shell.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -523,7 +523,7 @@ function ShellLayout() {
{/* Shell chrome: Win/Linux hang the sidebar under a topbar. macOS uses a
titlebar strip above the off-canvas sidebar. Session and board actions
render inside the center panel when the shell topbar is hidden. */}
<div className="flex h-screen min-h-0 flex-col bg-sidebar text-foreground">
<div className={cn("flex h-screen min-h-0 flex-col bg-sidebar text-foreground", isWindows && "platform-windows")}>
{/* Windows-only custom title bar (sidebar toggle + File/Edit/View/…
menu); paints the chrome the frameless window drops. Renders null on
macOS/Linux. */}
Expand Down
6 changes: 6 additions & 0 deletions frontend/src/renderer/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -381,6 +381,12 @@
padding-left: var(--size-center-panel-inline-inset);
}

/* Windows: the frameless window's custom titlebar already supplies top chrome,
* so drop the framed panel's top inset to give content more height. */
.platform-windows .center-panel-shell {
padding-top: 0;
}

@utility settings-row-bar {
display: flex;
height: var(--size-settings-row);
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/styles/tokens.css
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
--color-bg-tertiary: #1b1d22;
--color-bg-elevated: #212329;
--color-bg-sidebar: #17181c;
--color-bg-terminal: #15171b;
--color-bg-terminal: #101317e7;

/* Text */
--color-text-primary: #f4f5f7;
Expand Down
Loading