Repository navigation
Redo the design-system page layout - #376
Merged
Merged
Conversation
Pair every component demo with a scrollable prop table, fix badge placement, and give demo groups one spacing rhythm. Prop tables keep their full width inside a scroll pane at 360, 768 and 1440 px instead of squeezing; demos carry captions so each block is self-describing.
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.
Problem
The shipped layout broke down below desktop width: prop tables squeezed their
columns until type unions wrapped mid-token, coverage badges fell out of the
header row as plain text, and demo blocks stacked without captions or rhythm
(see the attached viewport screenshot).
Redo
table (
.props-scroll,min-width: 600px, fixed Prop/Default columns).Tables never squeeze; narrow viewports scroll the pane, not the page.
states) each carry a label and follow one spacing rhythm: 24px pane
padding, 24px group gaps, 10px label-to-content.
380px minimum that overflowed small panes.
metadata and link counts are intact.
Verification
python -m unittest scripts.test_design_system_page scripts.test_website scripts.test_landing_page— 19 pass.build_website.py,check_website.py(27 pages),check_brand_assets.py— pass.knowledge-lint— 36 concepts, indexes current.scrollWidth == clientWidtheverywhere; clipped screenshots of button, header, tabs and modal sections
reviewed in dark, plus the button section in light.