From 8f758037976e0138f2c455e5296196c0eb31e554 Mon Sep 17 00:00:00 2001 From: highperfocused Date: Thu, 1 Jan 2026 21:00:30 +0100 Subject: [PATCH] fix: add overflow handling to charts and dashboard components for better layout --- src/components/dashboard/EventKindsChart.tsx | 2 +- src/components/dashboard/RecentActivityChart.tsx | 6 +++--- src/components/dashboard/RecentActivityList.tsx | 10 +++++----- src/pages/Dashboard.tsx | 12 ++++++------ 4 files changed, 15 insertions(+), 15 deletions(-) diff --git a/src/components/dashboard/EventKindsChart.tsx b/src/components/dashboard/EventKindsChart.tsx index 3cb8915..2ed9889 100644 --- a/src/components/dashboard/EventKindsChart.tsx +++ b/src/components/dashboard/EventKindsChart.tsx @@ -156,7 +156,7 @@ export function EventKindsChart() { } return ( - + Event Kinds Distribution Your top 5 event types diff --git a/src/components/dashboard/RecentActivityChart.tsx b/src/components/dashboard/RecentActivityChart.tsx index 259d681..1f8175b 100644 --- a/src/components/dashboard/RecentActivityChart.tsx +++ b/src/components/dashboard/RecentActivityChart.tsx @@ -133,15 +133,15 @@ export function RecentActivityChart() { } return ( - + Recent Activity Your event activity over the last 30 days - - + + -
-
- +
+
+ {kindName} - + {relativeTime}
-

+

{contentPreview}

diff --git a/src/pages/Dashboard.tsx b/src/pages/Dashboard.tsx index f001b70..171e108 100644 --- a/src/pages/Dashboard.tsx +++ b/src/pages/Dashboard.tsx @@ -21,15 +21,15 @@ export function Dashboard() { return ( -
+
-
+
-

Dashboard

+

Dashboard

-
+
{!user ? ( @@ -46,10 +46,10 @@ export function Dashboard() { ) : ( <>
-

+

Welcome back {currentUser ? getDisplayName(currentUser) : ''}!

-

+

Here's an overview of your Nostr activity and statistics.