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()} +