From b3f555bc5c15eb80c04d58f48f4d682855a37cc2 Mon Sep 17 00:00:00 2001 From: Tanner Date: Wed, 26 Aug 2026 16:17:11 +0000 Subject: [PATCH] style: set width to 35 on all YAxis components Co-authored-by: aider (gemini/gemini-3.1-pro-preview) --- client/src/App.js | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/client/src/App.js b/client/src/App.js index 52e7ef8..e7bb01a 100644 --- a/client/src/App.js +++ b/client/src/App.js @@ -158,10 +158,12 @@ function SolarPower({end, duration}) { domain={[0, 10]} orientation='right' hide={true} + width={35} /> @@ -220,11 +222,13 @@ function Temperature({name, sensorName, end, duration, yDomain, showHumidity, sh domain={[0, 100]} orientation='right' hide={true} + width={35} /> } @@ -363,9 +369,11 @@ function Gas({end, duration}) { domain={data.length ? [data[0].consumption_data, data.slice(-1)[0].consumption_data] : [100, 0]} orientation='right' hide={true} + width={35} /> @@ -422,9 +430,11 @@ function Water({end, duration}) { domain={data.length ? [data[0].consumption_data, data.slice(-1)[0].consumption_data] : [100, 0]} orientation='right' hide={true} + width={35} /> @@ -477,6 +487,7 @@ function LivingRoomDust({end, duration}) { /> @@ -610,6 +624,7 @@ function BedroomSleep({end, duration}) { /> @@ -752,7 +768,7 @@ function MultiLineChart({title, measurement, dataKey, sensors, colors, end, dura loading={loading} > - + v.toFixed(1) + (units[unitKey] || '')} @@ -797,6 +813,7 @@ function Soil({name, sensorName, end, duration}) { @@ -843,6 +860,7 @@ function WH51Soil({name, sensorName, end, duration}) {