Repository navigation
Fit animations to the board's reading width - #1507
Merged
Merged
Conversation
A three-column scene with link labels asked for about 778px while the board's column is about 755px at any window width, so its right column ran off the block. The stage now lays out at least 720px wide, the board's reading width, and a narrower block scrolls it sideways rather than squeezing it. Within that width a scene's label gap gives way before its cards would overflow. A link's label also avoids other arrows' lines: a parallel edge drawn back between the same cards sat under the outbound label. The authoring instructions ask agents to draw for a 720px stage. Agent-Session: cbacb871-2558-4fe4-9272-77524bb21683 Agent-Session: ffed49d6-ca86-4940-b93c-e8eb7e0de440 Agent-Session: d7e3a290-82a4-4f66-9b3c-7a52a51add18
thesiti92
approved these changes
Nov 4, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changed
STAGE_MIN_WIDTH), the board's reading width. On a full-size board it fits with no horizontal scroll; in a narrower block it keeps 720px and scrolls sideways instead of squeezing the drawing. Wider boards and fullscreen still give it more room, and fullscreen scales from at least 720px.animation.mdtells agents to draw for a 720px stage with nothing past its right edge, and not to shrink the drawing for narrow windows.Why
A three-column scene with long labels asked for about 778px. The board's column is about 755px at any window width, so the right column was cut off even in a wide window. In the same board, the "Import link" label had the return arrow running through it.
Testing