fix(web): give the settings panel one height, taken from the viewport

Sections differ by hundreds of pixels — a short preferences list against
the composition editor — and the 600px panel served both badly: the
list left a wide empty band, the editor cramped a YAML file into a
16-row box with dead space under it.

The panel is now `min(800px, 100vh - 48px)`: one height for every
section, whatever does not fit scrolls where it already did. The
composition editor takes the column's full height rather than a fixed
row count, so the extra space reaches the text instead of the gap.

Refresh the settings goldens the preset section's nav entry had made
stale.
This commit is contained in:
Yichen Jiang
2026-08-05 19:07:51 +08:00
parent 2b8a0a8cff
commit 1d917e7c31
4 changed files with 35 additions and 7 deletions
@@ -2,5 +2,5 @@
# side as of the last confirmed-consistent state. Both languages carry equal authority;
# after editing either side, bring the other along and re-record with:
# pnpm run verify-translation-pairing --write packages/preset/agent-presets/README.md
README.md: b60d89b6dcda97a7570680072195231885fd0d45
README.zh.md: f2485663ada031a9e8fa5ce3a06327e6cbc1de10
README.md: b6f00366ef319637d19cccb513d41dbff1eaa5e1
README.zh.md: f09fd89c2c9bfb08fafbdb47b80ebaf26ae42b47