From 24c71f799157ec1f8de5f8f3ffb2e5d6d52d32a5 Mon Sep 17 00:00:00 2001 From: Usman Baig Date: Sun, 15 Mar 2026 18:15:06 +0100 Subject: [PATCH] fix: mobile responsiveness across all pages - SiteNav: add horizontal scroll for 8 tabs on mobile - NotificationCenter: full-width dropdown on mobile - ContentStats/Locations/TechSpecs: scrollable tab bars - FrustrationTable: fix selector text overflow - FrustrationByPageTable: horizontal scroll on mobile - CDN: better stat card grid breakpoints - Home: reduce stat card height, prevent button wrap - Billing: shorter invoice labels on mobile - Bump @ciphera-net/ui to 0.2.6 (AppLauncher mobile fix) --- app/page.tsx | 6 +++--- app/sites/[id]/cdn/page.tsx | 4 ++-- components/behavior/FrustrationByPageTable.tsx | 4 ++-- components/behavior/FrustrationTable.tsx | 2 +- components/dashboard/ContentStats.tsx | 2 +- components/dashboard/Locations.tsx | 2 +- components/dashboard/SiteNav.tsx | 4 ++-- components/dashboard/TechSpecs.tsx | 2 +- components/notifications/NotificationCenter.tsx | 2 +- components/settings/OrganizationSettings.tsx | 4 ++-- package-lock.json | 8 ++++---- package.json | 2 +- styles/globals.css | 9 +++++++++ 13 files changed, 30 insertions(+), 21 deletions(-) diff --git a/app/page.tsx b/app/page.tsx index 04dd558..4501e98 100644 --- a/app/page.tsx +++ b/app/page.tsx @@ -400,7 +400,7 @@ export default function HomePage() { ) : null })() ?? ( - @@ -409,11 +409,11 @@ export default function HomePage() { {/* * Global Overview - min-h ensures no layout shift when Plan & usage loads */}
-
+

Total Sites

{sites.length}

-
+

Total Visitors (24h)

{sites.length === 0 || Object.keys(siteStats).length < sites.length diff --git a/app/sites/[id]/cdn/page.tsx b/app/sites/[id]/cdn/page.tsx index 267b6c7..a244b55 100644 --- a/app/sites/[id]/cdn/page.tsx +++ b/app/sites/[id]/cdn/page.tsx @@ -143,7 +143,7 @@ export default function CDNPage() {

-
+
@@ -249,7 +249,7 @@ export default function CDNPage() {
{/* Overview cards */} -
+
) : hasData ? ( -
+
{/* Header */}
Page @@ -72,7 +72,7 @@ export default function FrustrationByPageTable({ pages, loading }: FrustrationBy style={{ width: `${barWidth}%` }} /> {page.page_path} diff --git a/components/behavior/FrustrationTable.tsx b/components/behavior/FrustrationTable.tsx index d16ee4f..8294b95 100644 --- a/components/behavior/FrustrationTable.tsx +++ b/components/behavior/FrustrationTable.tsx @@ -81,7 +81,7 @@ function Row({ return (
-
+
)}
-
+
{(['top_pages', 'entry_pages', 'exit_pages'] as Tab[]).map((tab) => (
-
+
{(['browsers', 'os', 'devices', 'screens'] as Tab[]).map((tab) => (