build-test-release / release (push) Successful in 6m26s
The two wide KPI cards (SHA-256 Hashrate, Est. power) carry a units-bearing value like "685 TH" / "21.3 kW". When the window was narrowed the row squeezed these cards below the width their value needs, clipping the trailing unit so it read as "21.3" with no "kW". Two fixes: - A nested wxPanel does not re-run its own sizer when its parent resizes it, so each card's value/label centring kept whatever slot width it had at the previous window size. on_resize now re-lays-out every card on each size event, so the value stays centred and gets its full best-size width allocation. - Raise the wide-card minimum width (150 -> 176) to fit a ~20px icon + a value up to "118.0 PH" + the card's side inset, and derive the collapse threshold from the real per-card minimums. The wide cards now either show their full units or drop out of the row cleanly -- they never render a clipped value. Verified under Xvfb: at 1050px all seven cards show "685 TH" / "21.3 kW" in full; at 960px the two wide cards collapse and the five count cards fill the row. Headless self-test still passes. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Y8h447BPyJR4fioYZvQ9bh