Repository navigation
Fit the draft and Live Review layout to phone screens - #1008
Merged
Merged
Conversation
- Booster cards fit two per row below 600px for players and spectators, and the zoom slider still scales them - The Live Review header fits in two rows with the selectors and zoom slider sharing one - Player chips take a little less height
MNoya
marked this pull request as ready for review
October 29, 2026 00:57
Remove hacky `float:right` Switch to flex-direction: column in portrait mode
Owner
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.

On a phone, the spectator Live Review and the player's own pack used most of the screen poorly: a single column of cards with the right half empty, and a header split over five rows. This only changes styles below 600px, so the desktop layout is untouched.
The Live Review cards were squeezed into half the width because the zoom slider is floated right and the card container, being a flex box, sat beside the float. Making the header a wrapping flex row removes the float's effect.
Booster card width and margin now come from
--booster-card-base-widthand--booster-card-marginvariables that default to 200px and 0.75em, so the pick animation and the pack's min-height follow the smaller phone cards.Spectator Live Review at 390px
Player pack at 390px