From e07fd3f0e82fe0b83d9893fb2bd84c6b9a052861 Mon Sep 17 00:00:00 2001 From: Usman Baig Date: Tue, 10 Mar 2026 01:13:03 +0100 Subject: [PATCH] Move expand icon to top-right corner of panels, make it larger Reposition FrameCornersIcon from next to the title to the far right of each card header (after tabs). Increase size from w-3.5 to w-4 and add hover background for better visibility and discoverability. Co-Authored-By: Claude Opus 4.6 --- components/dashboard/Campaigns.tsx | 22 +++++++++--------- components/dashboard/ContentStats.tsx | 28 +++++++++++------------ components/dashboard/Locations.tsx | 32 +++++++++++++-------------- components/dashboard/TechSpecs.tsx | 32 +++++++++++++-------------- components/dashboard/TopReferrers.tsx | 26 ++++++++++------------ 5 files changed, 69 insertions(+), 71 deletions(-) diff --git a/components/dashboard/Campaigns.tsx b/components/dashboard/Campaigns.tsx index 1134501..5d6165c 100644 --- a/components/dashboard/Campaigns.tsx +++ b/components/dashboard/Campaigns.tsx @@ -124,26 +124,26 @@ export default function Campaigns({ siteId, dateRange, filters, onFilter }: Camp <>
+

+ Campaigns +

-

- Campaigns -

+ {showViewAll && ( )}
-
diff --git a/components/dashboard/ContentStats.tsx b/components/dashboard/ContentStats.tsx index 09486e6..f70785d 100644 --- a/components/dashboard/ContentStats.tsx +++ b/components/dashboard/ContentStats.tsx @@ -98,21 +98,11 @@ export default function ContentStats({ topPages, entryPages, exitPages, domain, <>
+

+ Pages +

-

- Pages -

- {showViewAll && ( - - )} -
-
+
{(['top_pages', 'entry_pages', 'exit_pages'] as Tab[]).map((tab) => (
+ {showViewAll && ( + + )}
diff --git a/components/dashboard/Locations.tsx b/components/dashboard/Locations.tsx index 8cff2cb..d7025d7 100644 --- a/components/dashboard/Locations.tsx +++ b/components/dashboard/Locations.tsx @@ -202,22 +202,12 @@ export default function Locations({ countries, cities, regions, geoDataLevel = ' <>
+

+ Locations +

-

- Locations -

- {showViewAll && ( - - )} -
-
- {(['map', 'globe', 'countries', 'regions', 'cities'] as Tab[]).map((tab) => ( +
+ {(['map', 'globe', 'countries', 'regions', 'cities'] as Tab[]).map((tab) => ( - ))} + ))} +
+ {showViewAll && ( + + )}
diff --git a/components/dashboard/TechSpecs.tsx b/components/dashboard/TechSpecs.tsx index caeb3ae..38573f9 100644 --- a/components/dashboard/TechSpecs.tsx +++ b/components/dashboard/TechSpecs.tsx @@ -128,22 +128,12 @@ export default function TechSpecs({ browsers, os, devices, screenResolutions, co <>
+

+ Technology +

-

- Technology -

- {showViewAll && ( - - )} -
-
- {(['browsers', 'os', 'devices', 'screens'] as Tab[]).map((tab) => ( +
+ {(['browsers', 'os', 'devices', 'screens'] as Tab[]).map((tab) => ( - ))} + ))} +
+ {showViewAll && ( + + )}
diff --git a/components/dashboard/TopReferrers.tsx b/components/dashboard/TopReferrers.tsx index 14d50a3..7a2785c 100644 --- a/components/dashboard/TopReferrers.tsx +++ b/components/dashboard/TopReferrers.tsx @@ -86,20 +86,18 @@ export default function TopReferrers({ referrers, collectReferrers = true, siteI <>
-
-

- Referrers -

- {showViewAll && ( - - )} -
+

+ Referrers +

+ {showViewAll && ( + + )}