From 8844323cad7cdb3b2617c654ffdb99a5ac771ae5 Mon Sep 17 00:00:00 2001 From: Oleg Date: Sat, 8 Aug 2026 13:07:09 +0000 Subject: [PATCH] Fix invisible bars in the 14-day tickets chart MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The row container used items-end without an explicit height, so each day column had an auto (indefinite) cross-axis size. Percentage heights don't resolve against an indefinite-height ancestor, so every bar collapsed to zero height regardless of its data — only the hover-tooltip count was visible, not the bar itself. Removing items-end lets columns stretch to the parent's fixed h-32, giving the inner bar's height percentage something concrete to resolve against. Co-Authored-By: Claude Sonnet 5 Claude-Session: https://claude.ai/code/session_012o9j9RezxbZVKQMrB7oRLY --- src/app/(admin)/stats/charts.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/(admin)/stats/charts.tsx b/src/app/(admin)/stats/charts.tsx index 9a29ff9..90e91e1 100644 --- a/src/app/(admin)/stats/charts.tsx +++ b/src/app/(admin)/stats/charts.tsx @@ -54,7 +54,7 @@ export function DailyBarChart({ data }: { data: { label: string; count: number } return (
-
+
{data.map((d, i) => (
{d.count > 0 && (