Repository navigation
Stack the playground's boxes as strips, in a smaller font - #14
Merged
Merged
Conversation
The code and the result stood side by side, each half the width of the page, so a line of the formatter's 120 columns fitted in neither. They are now strips as wide as the page: the code on top, the Format button and the status under it, the result below. Each box is 30% of the window high, at most 20rem, and can be pulled taller. The code in them is 0.65rem, 13 px, instead of 0.75rem.
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.
The code and the result stood side by side, each half the width of the page, so a line of the formatter's 120 columns fitted in neither. They are now strips as wide as the page:
playground/index.md, and the intro says "the upper box" instead of "on the left";min(30vh, 20rem)high and can be pulled taller (resize: vertical), on every screen width, so the two-column breakpoints go;0.65rem, 13 px, instead of0.75rem.Looked at with the 21.0.2 module fetched by
scripts/fetch-playground.sh, in Chrome at 1440 px and at 390 px: the module loads, the boxes take the width of the page, and nothing scrolls sideways on the phone.zensical build --clean --strictreports no issues.