Skip to content

feat: lift figure controls out of the frames and enlarge them - #477

Merged
chuma-beep merged 1 commit into
mainfrom
feat/homepage-redesign
Nov 25, 2026
Merged

chuma-beep merged 1 commit into
mainfrom
feat/homepage-redesign

Conversation

@chuma-beep

Copy link
Copy Markdown
Owner

Section 04 put the figure controls inside the bordered drawing, at 28px wide and 10px text. This lifts them into their own strip below each figure and enlarges them: steppers 40x40, selects 40px tall, Reset a labelled 36px button.

The slider keeps the label on its own line and wraps the range, stepper and suffix together, which fixes two clipping bugs the smaller layout exposed: a + pushed past the card edge in the solid-of-revolution card, and a degree sign detached under the unit-circle label.

Measured on the export at 1280 and 390, light and dark: no document overflow, three figures, three control strips, all three below their figure. Only the switches remain 44x24, which is their native shape and meets the 24x24 target.

45 visual template and landing tests pass; typecheck is clean.

FigureFrame now takes a controls slot and renders it in its own strip below the bordered figure, so the drawing box stays a drawing. The unit circle, vector field and solid of revolution pass their controls through it and drop the in-frame copies.

Steppers become 40x40, selects 40px tall and Reset a labelled 36px button. Sliders put the label on its own line and wrap the range with the stepper and suffix as one group, which fixes the clipped plus on the solid-of-revolution card and the detached degree sign on the unit circle.
@chuma-beep
chuma-beep merged commit 73386ed into main Nov 25, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant