Skip to content

Voice-to-text dictation app with local (Nvidia Parakeet/Whisper) and cloud models (BYOK). Privacy-first and available cross-platform.

fix(ui): center macOS traffic lights with sidebar search bar

Gabriel Stein3f11de9d64b0
diff --git a/src/components/ControlPanelSidebar.tsx b/src/components/ControlPanelSidebar.tsx
index e747c01fb..134476e9c 100644
--- a/src/components/ControlPanelSidebar.tsx
+++ b/src/components/ControlPanelSidebar.tsx
@@ -95,7 +95,7 @@ export default function ControlPanelSidebar({
return (
<div className="w-48 h-full shrink-0 border-r border-border/15 dark:border-white/6 flex flex-col bg-surface-1/60 dark:bg-surface-1">
<div
- className={cn("w-full shrink-0", platform === "darwin" ? "h-8" : "h-10")}
+ className={cn("w-full shrink-0", platform === "darwin" ? "h-5" : "h-10")}
style={{ WebkitAppRegion: "drag" } as React.CSSProperties}
/>
diff --git a/src/helpers/windowConfig.js b/src/helpers/windowConfig.js
index abb88fcb7..9f5669411 100644
--- a/src/helpers/windowConfig.js
+++ b/src/helpers/windowConfig.js
@@ -86,7 +86,7 @@ const CONTROL_PANEL_CONFIG = {
frame: false,
...(process.platform === "darwin" && {
titleBarStyle: "hiddenInset",
- trafficLightPosition: { x: 16, y: 14 },
+ trafficLightPosition: { x: 16, y: 28 },
}),
transparent: false,
minimizable: true,