Repository navigation
Keep tour screenshots readable on every row - #371
Merged
Merged
Conversation
Even rows reordered the copy without flipping the grid tracks, so the screenshot landed in the narrow column. Swap the tracks with the order and reset both variants below the breakpoint.
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.
Summary
The landing product tour alternates copy and screenshot sides. Even rows reordered the copy into the wide column but never flipped the grid tracks, so the screenshot on those rows fell into the narrow
4frcolumn:Even rows now swap the tracks together with the order (
8fr 4fr), so every capture renders at the same size. The mobile override also resets both row variants, which the old higher-specificity even-row rule would have blocked below 900px.Verified in a browser at 920px: all four screenshots measure 531px, and the Server detail and Modpacks captures are readable (tab strip, settings rows, three modpack cards with tags).
Validation
python3 -m unittest scripts.test_landing_page scripts.test_website scripts.test_design_system_page(18 pass, including a new CSS track-order regression test)python3 scripts/build_website.pypython3 scripts/check_website.py(27 pages valid)python3 scripts/check_brand_assets.py