From 46bf058bfc0802d6c7be295e93ad00efdf7066fb Mon Sep 17 00:00:00 2001 From: 01zulfi <85733202+01zulfi@users.noreply.github.com> Date: Fri, 25 Apr 2025 11:21:16 +0500 Subject: [PATCH] web: make nav menu header draggable (#7985) * web: make part of nav menu header draggable Signed-off-by: 01zulfi <85733202+01zulfi@users.noreply.github.com> * Update apps/web/src/app.css Signed-off-by: Abdullah Atta * Update apps/web/src/components/navigation-menu/index.tsx Signed-off-by: Abdullah Atta --------- Signed-off-by: Abdullah Atta Co-authored-by: Abdullah Atta --- apps/web/src/app.css | 1 + apps/web/src/components/navigation-menu/index.tsx | 2 ++ 2 files changed, 3 insertions(+) diff --git a/apps/web/src/app.css b/apps/web/src/app.css index 719f9ac15..ebe0c372b 100644 --- a/apps/web/src/app.css +++ b/apps/web/src/app.css @@ -1,6 +1,7 @@ .tabsScroll, .titlebarLogo, .theme-scope-titleBar, +.navigation-menu-header, .route-container-header { -webkit-app-region: drag; } diff --git a/apps/web/src/components/navigation-menu/index.tsx b/apps/web/src/components/navigation-menu/index.tsx index 1056d733e..6ffecaabf 100644 --- a/apps/web/src/components/navigation-menu/index.tsx +++ b/apps/web/src/components/navigation-menu/index.tsx @@ -272,7 +272,9 @@ function NavigationMenu({ onExpand }: { onExpand?: () => void }) { }} >