From 9346fef374dbb768257e8bdc0cf249dd290804cb Mon Sep 17 00:00:00 2001 From: TerrifiedBug Date: Tue, 28 Apr 2026 08:43:02 +0100 Subject: [PATCH] fix(dashboard): equalize KPI card heights across the grid Cards in the dashboard KPI row had varying content (single number vs multi-badge status vs reduction with sub-text), so heights diverged within the same grid row. - Add auto-rows-fr to the KPI grid (and skeleton + empty-state grids) so wrapped rows have equal heights - Add h-full to StaggerItem, Card, and CardContent so cards fill the grid row evenly regardless of content --- src/app/(dashboard)/page.tsx | 44 ++++++++++++++++++------------------ 1 file changed, 22 insertions(+), 22 deletions(-) diff --git a/src/app/(dashboard)/page.tsx b/src/app/(dashboard)/page.tsx index e00647b5..97c248d7 100644 --- a/src/app/(dashboard)/page.tsx +++ b/src/app/(dashboard)/page.tsx @@ -184,9 +184,9 @@ export default function DashboardPage() { title="Welcome to VectorFlow" description="Get started by creating your first pipeline, registering fleet nodes, and reviewing your configuration." /> -
- - +
+ +

Create a pipeline

Build your first observability pipeline with the visual editor.

@@ -195,8 +195,8 @@ export default function DashboardPage() {
- - + +

Register a node

Add fleet nodes to deploy and run your pipelines.

@@ -205,8 +205,8 @@ export default function DashboardPage() {
- - + +

Open settings

Configure teams, environments, and integrations.

@@ -314,9 +314,9 @@ export default function DashboardPage() { <> {/* KPI Summary Cards */} {stats.isPending ? ( -
+
{Array.from({ length: 6 }).map((_, i) => ( - + @@ -325,10 +325,10 @@ export default function DashboardPage() { ))}
) : ( - + {/* Total Nodes */} - - + +

Total Nodes

@@ -342,8 +342,8 @@ export default function DashboardPage() { {/* Node Health */} - - + +

Node Health

@@ -368,8 +368,8 @@ export default function DashboardPage() { {/* Total Pipelines */} - - + +

Pipelines

@@ -383,8 +383,8 @@ export default function DashboardPage() { {/* Pipeline Status */} - - + +

Pipeline Status

@@ -409,8 +409,8 @@ export default function DashboardPage() { {/* Log Reduction */} - - + +

Log Reduction

@@ -443,8 +443,8 @@ export default function DashboardPage() { {/* Active Alerts */} - - + +

Active Alerts