Skip to content

Keep tour screenshots readable on every row - #371

Merged
athNdev merged 1 commit into
mainfrom
fix/tour-screenshot-size
Nov 6, 2026
Merged

athNdev merged 1 commit into
mainfrom
fix/tour-screenshot-size

Conversation

@athNdev

@athNdev athNdev commented Nov 6, 2026

Copy link
Copy Markdown
Owner

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 4fr column:

Row Screenshot before Screenshot after (920px viewport)
Dashboard / Modpack Studio 531px 531px
Server detail / Modpacks ~265px 531px

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.py
  • python3 scripts/check_website.py (27 pages valid)
  • python3 scripts/check_brand_assets.py

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.
@athNdev
athNdev merged commit 2d88c9d into main Nov 6, 2026
12 checks passed
@athNdev
athNdev deleted the fix/tour-screenshot-size branch November 6, 2026 21:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant