From 7cbfbc54ca705bacc5bab8caa37ab806ee793d43 Mon Sep 17 00:00:00 2001 From: Usman Baig Date: Thu, 19 Mar 2026 12:10:30 +0100 Subject: [PATCH] fix: tighten dashboard vertical spacing MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Reduce spacing now that top header is removed: - Main content top padding: pt-6 → pt-4 - Header section: mb-8 → mb-6 - Chart section: mb-8 → mb-6 - Grid sections: mb-8 → mb-6 - Site name margin: mb-2 → mb-1 - Header inner gap: mb-4 → mb-3 --- app/sites/[id]/page.tsx | 16 ++++++++-------- components/dashboard/DashboardShell.tsx | 2 +- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/app/sites/[id]/page.tsx b/app/sites/[id]/page.tsx index a89999f..5ad39da 100644 --- a/app/sites/[id]/page.tsx +++ b/app/sites/[id]/page.tsx @@ -438,11 +438,11 @@ export default function SiteDashboardPage() { return (
-
-
+
+
-

+

{site.name}

@@ -539,7 +539,7 @@ export default function SiteDashboardPage() { )} {/* Advanced Chart with Integrated Stats */} -

+
-
+
-
+
-
+
-
+
!/^scroll_\d+$/.test(g.event_name))} diff --git a/components/dashboard/DashboardShell.tsx b/components/dashboard/DashboardShell.tsx index d319ef0..909b42b 100644 --- a/components/dashboard/DashboardShell.tsx +++ b/components/dashboard/DashboardShell.tsx @@ -38,7 +38,7 @@ export default function DashboardShell({ />
-
+
{children}