Make the stamps wall bounce at every page size #8

Merged
adamf merged 1 commits from worktree-stamps-always-bounce into main 2026-10-01 15:20:31 +01:00
Owner

The wall was a wrapping flex row with a fixed 4-stamp min-width, so it only
overflowed (and so only bounced) when its cell was narrower than that. At
tablet widths the cell is wider, the wall fitted, and horizontal motion
stopped.

Lay it out as a fixed-track grid whose column and row counts come from the
cell's own size via a ResizeObserver, always one to two stamps larger than
the cell on both axes, cycling the stamps to fill every slot.

Co-Authored-By: Claude Opus 5.5 [email protected]

The wall was a wrapping flex row with a fixed 4-stamp min-width, so it only overflowed (and so only bounced) when its cell was narrower than that. At tablet widths the cell is wider, the wall fitted, and horizontal motion stopped. Lay it out as a fixed-track grid whose column and row counts come from the cell's own size via a ResizeObserver, always one to two stamps larger than the cell on both axes, cycling the stamps to fill every slot. Co-Authored-By: Claude Opus 5.5 <[email protected]>
adamf added 1 commit 2026-10-01 15:19:12 +01:00
The wall was a wrapping flex row with a fixed 4-stamp min-width, so it only
overflowed (and so only bounced) when its cell was narrower than that. At
tablet widths the cell is wider, the wall fitted, and horizontal motion
stopped.

Lay it out as a fixed-track grid whose column and row counts come from the
cell's own size via a ResizeObserver, always one to two stamps larger than
the cell on both axes, cycling the stamps to fill every slot.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
adamf merged commit 5827fb3ddd into main 2026-10-01 15:20:31 +01:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: adamf/stpweb#8