Mobile layout and settings - #35
Draft
avatarneil wants to merge 3 commits into
Draft
avatarneil wants to merge 3 commits into
avatarneil wants to merge 3 commits into
Conversation
Co-authored-by: avatarneil <avatarneil@gmail.com>
Co-authored-by: avatarneil <avatarneil@gmail.com>
|
Cursor Agent can help with this pull request. Just |
Contributor
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This commit refactors the layout and safe area handling across the application. It introduces new CSS classes for safe area padding and adjusts existing styles to ensure consistent and responsive display on various devices, especially those with notches or dynamic islands. The changes also include minor adjustments to the game board and score card layouts for better visual stability and responsiveness. Co-authored-by: avatarneil <avatarneil@gmail.com>
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.
Adds a settings screen with gameplay layout preferences, improves mobile viewport and safe area support, and fixes jarring board resizing during turns.
The board resizing fix addresses a subtle but jarring UX issue where elements like the current player's score, conditional text, and ring effects caused layout shifts. This PR stabilizes the layout by using fixed heights, consistent rendering, and
ring-inset.