From 15de97c10fa2b0ec3a8c99e0477733ead0e52fda Mon Sep 17 00:00:00 2001
From: David Hill <iamdavidhill@gmail.com>
Date: Thu, 30 Oct 2025 16:55:23 +0000
Subject: Change position

---
 packages/console/app/src/component/header.tsx | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

(limited to 'packages/console/app/src/component/header.tsx')

diff --git a/packages/console/app/src/component/header.tsx b/packages/console/app/src/component/header.tsx
index e089e40e3..e68b89ae2 100644
--- a/packages/console/app/src/component/header.tsx
+++ b/packages/console/app/src/component/header.tsx
@@ -80,7 +80,14 @@ export function Header(props: { zen?: boolean }) {
 
   const handleLogoContextMenu = (event: MouseEvent) => {
     event.preventDefault()
-    setStore("contextMenuPosition", { x: event.clientX, y: event.clientY })
+    const logoElement = (event.currentTarget as HTMLElement).querySelector("a")
+    if (logoElement) {
+      const rect = logoElement.getBoundingClientRect()
+      setStore("contextMenuPosition", {
+        x: rect.left - 16,
+        y: rect.bottom + 8,
+      })
+    }
     setStore("contextMenuOpen", true)
   }
 
-- 
cgit v1.2.3

