diff --git a/apps/web/app/dashboard/_components/DashboardInner.tsx b/apps/web/app/dashboard/_components/DashboardInner.tsx index cd7088382..cddd99724 100644 --- a/apps/web/app/dashboard/_components/DashboardInner.tsx +++ b/apps/web/app/dashboard/_components/DashboardInner.tsx @@ -46,14 +46,16 @@ export default function DashboardInner({ const title = titles[pathname] || ""; const { theme, setThemeHandler } = useTheme(); return ( -
+ <> {/* Top Bar - Fixed at top with proper z-index */}
-

{title}

+

+ {title} +

{ @@ -71,14 +73,13 @@ export default function DashboardInner({
{/* Content Area - Scrollable content with proper spacing */}
-
{children}
+
{children}
-
+ ); } diff --git a/apps/web/app/dashboard/_components/DynamicSharedLayout.tsx b/apps/web/app/dashboard/_components/DynamicSharedLayout.tsx index 3ace6bc82..6a196004d 100644 --- a/apps/web/app/dashboard/_components/DynamicSharedLayout.tsx +++ b/apps/web/app/dashboard/_components/DynamicSharedLayout.tsx @@ -99,7 +99,7 @@ export default function DynamicSharedLayout({ {/* Header/topbar is now expected to be rendered by children if needed */} {/* Main content area */} -
+
{children}
diff --git a/apps/web/app/dashboard/layout.tsx b/apps/web/app/dashboard/layout.tsx index 4511ca69e..44ab07cf9 100644 --- a/apps/web/app/dashboard/layout.tsx +++ b/apps/web/app/dashboard/layout.tsx @@ -168,9 +168,7 @@ export default async function DashboardLayout({ initialTheme={theme as "light" | "dark"} initialSidebarCollapsed={sidebar === "true"} > -
- {children} -
+ {children} ); } diff --git a/apps/web/app/dashboard/settings/organization/Organization.tsx b/apps/web/app/dashboard/settings/organization/Organization.tsx index 2f41bea21..fb027fde0 100644 --- a/apps/web/app/dashboard/settings/organization/Organization.tsx +++ b/apps/web/app/dashboard/settings/organization/Organization.tsx @@ -96,7 +96,7 @@ export const Organization = () => { -
+
{ return ( -
+
-
+
diff --git a/apps/web/app/dashboard/settings/organization/components/OrganizationIcon.tsx b/apps/web/app/dashboard/settings/organization/components/OrganizationIcon.tsx index cfcd47d73..7a3d85eb6 100644 --- a/apps/web/app/dashboard/settings/organization/components/OrganizationIcon.tsx +++ b/apps/web/app/dashboard/settings/organization/components/OrganizationIcon.tsx @@ -67,7 +67,7 @@ export const OrganizationIcon = ({ }; return ( -
+
diff --git a/apps/web/app/globals.css b/apps/web/app/globals.css index 859c632f0..e251330e9 100644 --- a/apps/web/app/globals.css +++ b/apps/web/app/globals.css @@ -446,7 +446,7 @@ ul { } */ .dashboard-page { - @apply flex flex-col; + @apply flex overflow-auto flex-col flex-1 items-stretch custom-scroll; } .dashboard-header { @@ -476,17 +476,16 @@ slot:not(.dashboard-layout slot) { /* Custom scrollbar */ .custom-scroll { - margin-right: 3px; /* Add margin to create space between scrollbar and window edge */ overflow-y: scroll; } .custom-scroll::-webkit-scrollbar { - width: 7px; + width: 3px; background-color: transparent; } .custom-scroll::-webkit-scrollbar-thumb { - @apply bg-gray-7 w-[7px] rounded-full; + @apply bg-gray-7 w-[3px] rounded-full; } #scrolling-section slot {