-
Notifications
You must be signed in to change notification settings - Fork 110
Try: Remove wrappers from landing pages, and set zero margin to individual patterns. #669
Conversation
Preview changesYou can preview these changes by following the link below: I will update this comment with the latest preview links as you push more changes to this PR. Note The preview sites are created using WordPress Playground. You can add content, edit settings, and test the themes as you would on a real site, but please note that changes are not saved between sessions. |
The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message.
To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd support that. We'd still need the fewer wrappers, but it could simplify the code, no? |
@richtabor @jasmussen the problem with setting all of them to zero is that the layout setting for block spacing won't affect any pattern. |
I think that's fine, it will still affect paragraphs and other bits and pieces. I don't think there's an expectation that this particular property would affect the sections as such. |
Ok, I updated the rest of the full width patterns. |
Ship it! |
Description
Fixes #664
We're removing the wrappers of the landing pages, so that they're functional in the zoom out view. To respect the designs, we are also setting a zero margin to the patterns that are involved in these landing pages.
Screenshots
Screen.Recording.2024-11-05.at.15.16.15.mov
Testing Instructions
Repeat again, creating a page from the site editor.