From 53c51639014a13d1ed1b96ef334b50b3f45b400f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc-Andr=C3=A9=20Bombeck?= Date: Fri, 15 May 2026 19:11:39 +0200 Subject: [PATCH] chore(charts): apply responsive aspect-ratio and height var across the chart surface MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit v1.4.27 MB7 / CF-37 + CF-43 — the scatter correlation chart now uses an `aspect-square` ratio at ` diff --git a/src/components/charts/medication-compliance-chart.tsx b/src/components/charts/medication-compliance-chart.tsx index a923267cb..674aa1089 100644 --- a/src/components/charts/medication-compliance-chart.tsx +++ b/src/components/charts/medication-compliance-chart.tsx @@ -383,7 +383,7 @@ export function MedicationComplianceChart({ description={t("charts.emptyStateDescription")} /> ) : ( -
+
) : ( -
+
>({ tooltipFormatter, height = 250, }: ScatterCorrelationChartProps) { + // v1.4.27 MB7 / CF-37 — drop the fixed pixel height in favour of a + // responsive aspect-ratio on mobile so the chart never compresses + // below readable axes. The `aspect-square` ratio at ` +