From dfe9a88cebfd6e6d7debc24df9ffbed589bdc48b Mon Sep 17 00:00:00 2001 From: Christian Vidal Wolf Date: Mon, 2 Feb 2026 11:31:26 +0100 Subject: [PATCH] fix: Make expanded chart fill entire screen (vertical + horizontal) - Updated ExpandableChartCard to use flex-1 + min-h-0 for proper height - Added CSS selectors to make child divs fill available space - Chart now expands to fullscreen in both dimensions --- components/DataGrid.tsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/components/DataGrid.tsx b/components/DataGrid.tsx index 705e838..d9a99d8 100644 --- a/components/DataGrid.tsx +++ b/components/DataGrid.tsx @@ -202,7 +202,7 @@ const ExpandableChartCard: React.FC<{ title: string; children: React.ReactNode; if (isExpanded) { return ( -
+

{title}

-
+ {/* Use flex-1 and min-h-0 to allow children to fill available space */} +
{children}