From 9692320cda2fe701d011b5e4615a638a1955dc25 Mon Sep 17 00:00:00 2001 From: usrnk1 <7547651+usrnk1@users.noreply.github.com> Date: Wed, 21 Oct 2026 14:29:13 +0200 Subject: [PATCH] fix(app): match production titlebar spacing (#57776) --- packages/app/src/shell/titlebar/titlebar.tsx | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/packages/app/src/shell/titlebar/titlebar.tsx b/packages/app/src/shell/titlebar/titlebar.tsx index 073ad6ba8cb..b14dfc03aba 100644 --- a/packages/app/src/shell/titlebar/titlebar.tsx +++ b/packages/app/src/shell/titlebar/titlebar.tsx @@ -16,7 +16,7 @@ import { useSettings } from "@/settings/model" import { WindowsAppMenu } from "./windows-menu" import { applyPath, backPath, forwardPath, type HistoryLocation } from "./history" import { TitlebarTabStrip } from "@/shell/titlebar/tab-strip" -import { macTrafficLightsBaseWidth, macVerticalTrafficLights, SidebarToggle } from "@/shell/sidebar-toggle" +import { macVerticalTrafficLights, SidebarToggle } from "@/shell/sidebar-toggle" import { SidebarInbox } from "@/shell/titlebar/inbox" import { makeEventListener } from "@solid-primitives/event-listener" import { createMediaQuery } from "@solid-primitives/media" @@ -44,6 +44,8 @@ const minTitlebarZoom = 0.25 const windowsControlsBaseWidth = 138 // 3 native Windows caption buttons at 46px each. +const macTrafficLightsBaseWidth = 68 + const macTrafficLightsTopClearance = 28 // Matches the desktop window's `trafficLightPosition`. @@ -605,8 +607,10 @@ export function Titlebar(props: { verticalTabs?: { mount?: HTMLElement } }) { - {homeButton()} - {searchButton()} +
+ {homeButton()} + {searchButton()} +