From 84f38230f21a858d14d5acb0091b59f8096d8b02 Mon Sep 17 00:00:00 2001
From: ameer2468 <33054370+ameer2468@users.noreply.github.com>
Date: Tue, 16 Sep 2025 23:13:55 +0300
Subject: [PATCH 3/5] ok
---
.../(org)/dashboard/_components/DashboardInner.tsx | 6 ++----
.../(org)/dashboard/_components/Navbar/Desktop.tsx | 13 +++----------
apps/web/app/(org)/dashboard/layout.tsx | 2 +-
apps/web/app/globals.css | 8 ++++++++
4 files changed, 14 insertions(+), 15 deletions(-)
diff --git a/apps/web/app/(org)/dashboard/_components/DashboardInner.tsx b/apps/web/app/(org)/dashboard/_components/DashboardInner.tsx
index eff12c36216..f2c2ff9cdc3 100644
--- a/apps/web/app/(org)/dashboard/_components/DashboardInner.tsx
+++ b/apps/web/app/(org)/dashboard/_components/DashboardInner.tsx
@@ -171,12 +171,10 @@ export default function DashboardInner({
{/*End of NavBar*/}
-
- {children}
-
+ {children}
{isSharedCapsPage && activeOrganization?.members && (
{
toggleSidebarCollapsed();
}
};
-
window.addEventListener("keydown", handleKeyDown);
-
- return () => {
- window.removeEventListener("keydown", handleKeyDown);
- };
+ return () => window.removeEventListener("keydown", handleKeyDown);
}, [toggleSidebarCollapsed]);
return (
{
},
}}
className={clsx(
- "hidden z-50 h-full will-change-[width] lg:flex group",
- "relative",
+ "hidden relative z-50 h-full will-change-[width] lg:flex group bg-gray-1",
)}
>
@@ -60,13 +55,11 @@ export const DesktopNav = () => {
/>
-
-
-