Add responsive grid gaps to the default theme - #16
Merged
Conversation
--grid-column-gap/--grid-row-gap start at --sm1 (16px) on small screens and step up to the previous --sm3 (24px) at the --md breakpoint, so gutters stop eating narrow viewports. Pure theme-level change: .grid consumes the vars, and per-element overrides still win over :root. Closes #10 Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
✅ Deploy Preview for mcssdev ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
dist/ conflict resolved by rebuilding from the merged source (npm run build:css). Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
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.

Closes #10
--grid-column-gap/--grid-row-gapnow start at--sm1(16px) on small screens and step up to the previous--sm3(24px) at the--mdbreakpoint (768px), so 24px gutters stop eating narrow viewports..gridconsumes the vars viavar(), soglobal.grid.cssand its generator are untouched. Rendering at ≥768px is identical to before.--grid-column-gapon a specific.grid) still win over:root;.grid-flushunaffected.Verified in dev: gap flips 16px → 24px at 768px; production build passes.
🤖 Generated with Claude Code