This commit is contained in:
James
2025-12-22 12:36:56 -05:00
parent a2030d5877
commit 64bf02d59c

View File

@@ -4,8 +4,7 @@ import { AutomakerLogo } from './automaker-logo';
import { BugReportButton } from './bug-report-button';
// Detect if running on macOS for traffic light button spacing
const isMac =
typeof navigator !== 'undefined' && navigator.userAgentData?.platform === 'macOS';
const isMac = typeof navigator !== 'undefined' && /Mac/.test(navigator.userAgent);
interface SidebarHeaderProps {
sidebarOpen: boolean;