Keep constrained drawings clear of captions

ER
20h ago
+330-29

An expanded Example drawing can put label controls beneath Jim's compact caption card at stacked widths. Put the card below the editor and reserve its measured height so the canvas and live captions share the viewport. At enlarged root fonts, stack the workspace when the actual sidebar track and editor minimum cannot fit.

The card retains captions and self-view with a scroll area capped at 40dvh. Explicit expansion brings a newly stacked editor into view; resizing preserves the reader's position. Shrinking and ending/report transitions restore floating placement and inertness immediately.

Rebased onto upstream/main at 9f9adeed, with two functional commits: narrow-screen caption layout (42b02809), then enlarged-font stacking (fcb70edd). Each includes its behavior checks and passes independently.

Validation: 25 layout tests pass on the first commit; all 76 layout/captions/turn-row tests pass on the final tree without skips. The long-caption regression checks both the caption bottom and absence of outer card scrolling. Before this refinement, all 85 whiteboard/layout tests and the combined pending #674 runtime's 26 layout tests passed. ESLint, formatting and diff checks pass. Full CI is rerunning at the new head. These are real-page browser fixtures without a live interview provider.

Local full-gate limitations

The earlier full local gate did not pass: it included LiveKit socket/timing fixtures, a Rubik benchmark, isolated Rust setup, macOS RSS/path assertions, missing hook tools and one cached-practice failure that passed alone. Two startup failures and three tooling assertions also reproduced on unchanged main. The focused tests above cover the current tree; full current-head CI remains authoritative for the complete gate.

Earlier 900px layout comparison, before the caption-sizing refinement
BeforeAfter
900px before: caption card overlaps drawing900px after: caption card below drawing
Earlier enlarged-font layout comparison
BeforeAfter
Enlarged font before: narrow drawingEnlarged font after: stacked layout preserves drawing width

Close #704