fix: macOS traffic lights and header padding

This commit is contained in:
Iuliia Ivashko
2026-01-30 01:07:39 +02:00
parent 520dd8c900
commit 2b62b0b73c
3 changed files with 52 additions and 5 deletions
+1 -1
View File
@@ -284,7 +284,7 @@ export const Header: React.FC = () => {
const desktopPaddingClass = React.useMemo(() => {
if (isDesktopApp && isMacPlatform) {
// Always reserve space for Mac traffic lights since header is always on top
return 'pl-[5.75rem]';
return 'pl-[5.125rem]';
}
return 'pl-3';
}, [isDesktopApp, isMacPlatform]);
@@ -116,7 +116,7 @@ export const MultiRunLauncher: React.FC<MultiRunLauncherProps> = ({
const desktopHeaderPaddingClass = React.useMemo(() => {
if (isDesktopApp && isMacPlatform) {
// Match main app header: reserve space for Mac traffic lights.
return 'pl-[5.75rem]';
return 'pl-[5.125rem]';
}
return 'pl-3';
}, [isDesktopApp, isMacPlatform]);