Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions ui/desktop/src/components/Layout/AppLayout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -146,8 +146,8 @@ const AppLayoutContent: React.FC<AppLayoutContentProps> = ({ activeSessions }) =
};
}, [isPushTopNav]);

// Calculate padding based on macOS traffic lights
const headerPadding = safeIsMacOS ? 'pl-21' : 'pl-4';
const headerPadding = safeIsMacOS ? 'pl-[96px]' : 'pl-4';
const headerTop = safeIsMacOS ? 'top-[15px]' : 'top-[11px]';

// Determine flex direction based on navigation position (for push mode)
const getLayoutClass = () => {
Expand Down Expand Up @@ -201,7 +201,7 @@ const AppLayoutContent: React.FC<AppLayoutContentProps> = ({ activeSessions }) =
? 'bottom-4 right-6'
: cn(
headerPadding,
'top-[11px]',
headerTop,
navigationPosition === 'right' ? 'right-6 left-auto' : 'ml-1.5'
)
)}
Expand Down
Loading