From 785d036dc6ca66f58cc18627c264d9cbd92a8ee1 Mon Sep 17 00:00:00 2001 From: znetsixe Date: Thu, 23 Apr 2026 11:41:03 +0200 Subject: [PATCH] =?UTF-8?q?Editor:=20taller=20tank=20=E2=80=94=20more=20ve?= =?UTF-8?q?rtical=20room=20between=20threshold=20lines?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Tank height 340 → 520 px (viewBox 480 → 620). Lines that were cramped in the bottom metre now have ~50 % more room, so: - The Outlet arrow no longer visually crowds the minLevel line - Dashed threshold lines (dryRunLevel, minLevel, outflowLevel) have visible breathing room between them for typical wastewater values where they sit in the bottom 1 m - Input-stack GAP bumped 26 → 30 px to match the extra vertical real estate Pure layout change — same proportional mapping, same nudging algorithm, just more canvas. Floor/datum label and ordering- warning ribbon positions shifted accordingly. Co-Authored-By: Claude Opus 4.7 (1M context) --- pumpingStation.html | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/pumpingStation.html b/pumpingStation.html index eed1882..01b5d21 100644 --- a/pumpingStation.html +++ b/pumpingStation.html @@ -178,7 +178,7 @@ // (dryRunLevel, overfillLevel) that are shown both in the diagram // and next to the safety-% fields. Same formulas as // specificClass._validateThresholdOrdering. - const DIAG = { topY: 40, botY: 380 }; + const DIAG = { topY: 40, botY: 560 }; const fNum = (id) => { const v = parseFloat(document.getElementById(`node-input-${id}`)?.value); return Number.isFinite(v) ? v : null; @@ -241,7 +241,7 @@ { id: 'outflowLevel', yLine: yForLevel(fNum('outflowLevel'), basinH) }, ].filter(it => it.yLine != null); - const GAP = 26; + const GAP = 30; items.sort((a, b) => a.yLine - b.yLine); let prev = -Infinity; for (const it of items) { @@ -385,7 +385,7 @@ #ps-basin-diagram input[type=number]:focus { outline: 1px solid #0c99d9; border-color: #0c99d9; } - @@ -395,7 +395,7 @@ - + @@ -462,8 +462,8 @@ m - - 0 m (datum) + + 0 m (datum) @@ -475,7 +475,7 @@ - +