diff --git a/frontend/components/dashboard/scan-terminal/LiveTemperatureThresholdChart.tsx b/frontend/components/dashboard/scan-terminal/LiveTemperatureThresholdChart.tsx index ad9d8885..fd799279 100644 --- a/frontend/components/dashboard/scan-terminal/LiveTemperatureThresholdChart.tsx +++ b/frontend/components/dashboard/scan-terminal/LiveTemperatureThresholdChart.tsx @@ -702,7 +702,7 @@ export function LiveTemperatureThresholdChart({ actions={timeframeActions} className={PEAK_GLOW_PANEL_CLASS[peakGlow.state]} > -
+
0 && chartSize.height > 0; const chartWidth = Math.max(1, chartSize.width); - const chartHeight = Math.max(220, chartSize.height); + const minChartHeight = compact ? 120 : 220; + const chartHeight = Math.max(minChartHeight, chartSize.height); const individualRunwaySeriesCount = chartSeries.filter( (series) => series.key.startsWith("runway_") && series.key !== "runway_max", ).length; @@ -125,7 +126,7 @@ export function TemperatureChartCanvas({ chartSeries.some((series) => series.key === "runway_max"); return ( -
+
{chartSeries.length > 1 && chartSeries @@ -187,7 +188,7 @@ export function TemperatureChartCanvas({ )}
-
+
{canRenderChart && (