From 9f955666166fb57fbae63f545ea0b557ab7f39d8 Mon Sep 17 00:00:00 2001 From: Jiayuan Zhang Date: Sun, 15 Feb 2026 21:16:27 +0800 Subject: [PATCH] fix(desktop): make login and onboarding windows draggable on macOS Login page: replace full-container drag region with a dedicated header bar, matching the pattern used across the app. The previous approach applied -webkit-app-region: drag to the entire content container which could interfere with child element interactions. Onboarding steps 1-4: move drag region from a tiny 80px left strip to the entire header element, and mark the ModeToggle as no-drag so it remains clickable. Closes MUL-241 Co-Authored-By: Claude Opus 4.6 --- apps/desktop/src/renderer/src/pages/login.tsx | 73 ++++++++++--------- .../renderer/src/pages/onboarding/index.tsx | 17 +++-- 2 files changed, 49 insertions(+), 41 deletions(-) diff --git a/apps/desktop/src/renderer/src/pages/login.tsx b/apps/desktop/src/renderer/src/pages/login.tsx index ca13663a..0ba8740b 100644 --- a/apps/desktop/src/renderer/src/pages/login.tsx +++ b/apps/desktop/src/renderer/src/pages/login.tsx @@ -23,46 +23,51 @@ export default function LoginPage() { if (isLoading) { return ( -
- +
+
+
+ +
) } return ( -
-
- {/* Brand */} -
- -

Multica

+
+
+
+
+ {/* Brand */} +
+ +

Multica

+
+ + {/* Tagline */} +

+ An AI assistant that gets things done. +

+ + {/* Sign In */} + + + {/* Helper */} +

+ Opens browser for authentication +

- - {/* Tagline */} -

- An AI assistant that gets things done. -

- - {/* Sign In */} - - - {/* Helper */} -

- Opens browser for authentication -

) diff --git a/apps/desktop/src/renderer/src/pages/onboarding/index.tsx b/apps/desktop/src/renderer/src/pages/onboarding/index.tsx index fb43dc69..5879dc21 100644 --- a/apps/desktop/src/renderer/src/pages/onboarding/index.tsx +++ b/apps/desktop/src/renderer/src/pages/onboarding/index.tsx @@ -44,12 +44,12 @@ export default function OnboardingPage() { return (
-
- {/* Left: Draggable area for traffic lights */} -
+
+ {/* Left: Traffic light spacing */} +
{/* Brand */}
@@ -65,7 +65,10 @@ export default function OnboardingPage() {
{/* Right: Theme toggle */} -
+