fix(client): keep nutrient readouts on stable single-line rows

This commit is contained in:
dingo
2026-10-26 17:30:47 -04:00
parent 82d21e65b2
commit 7ca5f74f03
6 changed files with 136 additions and 16 deletions
@@ -52,6 +52,13 @@ a scrollable details area. Changing nutrient values, growth warnings, pending
results, region-edge notices and stale observations cannot resize or re-anchor
these panels. The responsive compact layout keeps the dock and map within the viewport.
Resource-table rows also have stable single-line geometry: names and formatted
quantities never inherit prose wrapping. The amount column reserves the widest
supported energy/mass readout at the current font/scale, including the full u64
range, independently of live values. A growth-limiting nutrient shows `*` in its
existing dot slot, with the same bar outline; the marker never lengthens an amount.
This prevents transitions such as `714 fg` to `1.54 pg` from shifting later rows.
Nearby is a camera-centred observation map with a fixed six-millimetre radius.
It reads the received food and organism views only, including observations
outside the viewport. Empty space means unknown, not confirmed empty. Rings