Additional Responsive Tweaks #22
Merged
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.
This release implements comprehensive responsive design improvements across the Elayne block theme, focusing on proper horizontal padding for mobile viewports and establishing theme.json as the authoritative source for all design tokens. The changes ensure full-width patterns with background colors extend edge-to-edge without white gaps on mobile devices, while maintaining consistent spacing across all viewports. Two primary feature patterns have been updated to follow the standardized responsive padding approach, with detailed documentation added to guide future pattern development.
Responsive Layout Improvements:
var:preset|spacing|medium) to outer containers inservices-feature-cards.phpandthree-column-feature-grid.phppatterns to eliminate white gaps on mobile viewports for full-width sections with background colorsminimumColumnWidthsettings (280px for services cards, 320px for feature grids) to provide smooth 3→2→1 column transitions across desktop, tablet, and mobile breakpointsDocumentation and Developer Guidance:
readme.txtexplaining the two-structure approach for full-width patterns (Group with background vs. Cover block) and common pitfalls to avoid when nesting padding in multiple containersbackgroundColorandlayoutmust not be nested inside thestyleobjectVersion and Changelog Updates:
style.cssandreadme.txtheader metadataFiles Changed:
CHANGELOG.md(Modified)patterns/services-feature-cards.php(Modified)patterns/three-column-feature-grid.php(Modified)readme.txt(Modified)style.css(Modified)