Fix play-page layout shifts and drag-piece offset at non-100% zoom#302
Open
daniel-monroe wants to merge 1 commit into
Open
Fix play-page layout shifts and drag-piece offset at non-100% zoom#302daniel-monroe wants to merge 1 commit into
daniel-monroe wants to merge 1 commit into
Conversation
daniel-monroe
commented
Jun 1, 2026
- Pin the play page's left sidebar to a constant size (h-[75vh] w-[22rem]) with overflow-hidden, so neither its width nor height varies as content updates
- Allow the FEN/PGN containers in ExportGame to shrink below their content width (min-w-0 throughout the flex chain + min-w-0 on the text element), so the long unwrappable FEN string can no longer push the sidebar wider and shift the board horizontally
- Pin the PGN bar to a constant 160 px tall with internal scroll
- Replace scrollIntoView in MovesContainer with a manual scrollTo on the moves panel only, so the move-into-view scroll never propagates up to the document body
- Pin the play page's left sidebar to a constant size (h-[75vh] w-[22rem]) with overflow-hidden, so neither its width nor height varies as content updates - Allow the FEN/PGN containers in ExportGame to shrink below their content width (min-w-0 throughout the flex chain + min-w-0 on the text element), so the long unwrappable FEN string can no longer push the sidebar wider and shift the board horizontally - Pin the PGN bar to a constant 160 px tall with internal scroll - Replace scrollIntoView in MovesContainer with a manual scrollTo on the moves panel only, so the move-into-view scroll never propagates up to the document body Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
|
@daniel-monroe is attempting to deploy a commit to the Maia Platform Team on Vercel. A member of the Team first needs to authorize it. |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
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.