mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-12 15:04:52 +09:00
The resize observer measured offsetHeight, which on the content-box console includes the pin-to-bottom padding-top. Feeding that back into the height (and thus the padding) meant the padding inflated the measured height, so the console could be enlarged but never dragged smaller again. Make the console border-box so its height already includes the padding and offsetHeight matches the dragged height, breaking the feedback. The default height is bumped to 600 so the rendered size stays the same as the previous content-box height + padding. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>