From cb6c03432c86f2cdb5b341ede64eb20c5799fd2e Mon Sep 17 00:00:00 2001 From: Usman Baig Date: Thu, 12 Mar 2026 00:30:23 +0100 Subject: [PATCH] fix: use CSS grid with aspect-square for square heatmap cells --- components/dashboard/PeakHours.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/dashboard/PeakHours.tsx b/components/dashboard/PeakHours.tsx index 138e51f..7850305 100644 --- a/components/dashboard/PeakHours.tsx +++ b/components/dashboard/PeakHours.tsx @@ -143,7 +143,7 @@ export default function PeakHours({ siteId, dateRange }: PeakHoursProps) { {DAYS[dayIdx]} -
+
{hours.map((value, hour) => { const isHoveredCell = hovered?.day === dayIdx && hovered?.hour === hour const isBestCell = bestTime?.day === dayIdx && bestTime?.hour === hour @@ -154,7 +154,7 @@ export default function PeakHours({ siteId, dateRange }: PeakHoursProps) {