From 6e697cb5d8c5684b59fd4d6ab7d1732c64cff80b Mon Sep 17 00:00:00 2001 From: Matt Date: Fri, 20 Feb 2026 23:49:15 +0100 Subject: [PATCH] Extend Recently Reviewed card to match sibling heights Use flex-1 on the Recently Reviewed card so it stretches to fill the remaining vertical space in the left column, aligning its bottom with Juror Workload and Activity Feed. Add className prop to AnimatedCard. Co-Authored-By: Claude Opus 4.6 --- src/components/observer/observer-dashboard-content.tsx | 6 +++--- src/components/shared/animated-container.tsx | 3 ++- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/src/components/observer/observer-dashboard-content.tsx b/src/components/observer/observer-dashboard-content.tsx index 44c3112..a7a240e 100644 --- a/src/components/observer/observer-dashboard-content.tsx +++ b/src/components/observer/observer-dashboard-content.tsx @@ -350,7 +350,7 @@ export function ObserverDashboardContent({ userName }: { userName?: string }) { {/* Middle Row */}
{/* Left column: Score Distribution + Recently Reviewed stacked */} -
+
{/* Score Distribution */} @@ -397,8 +397,8 @@ export function ObserverDashboardContent({ userName }: { userName?: string }) { {/* Recently Reviewed */} - - + +
diff --git a/src/components/shared/animated-container.tsx b/src/components/shared/animated-container.tsx index debd459..5480118 100644 --- a/src/components/shared/animated-container.tsx +++ b/src/components/shared/animated-container.tsx @@ -3,9 +3,10 @@ import { motion } from 'motion/react' import { type ReactNode } from 'react' -export function AnimatedCard({ children, index = 0 }: { children: ReactNode; index?: number }) { +export function AnimatedCard({ children, index = 0, className }: { children: ReactNode; index?: number; className?: string }) { return (