-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Standardize left/right edge alignment #49
Conversation
"left": "var(--wp--style--block-gap)", | ||
"right": "var(--wp--style--block-gap)" | ||
}, | ||
"breakpoint": { |
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.
These were removed because they're no longer used.
If they were needed, though, I think the edge-spacing
var this PR introduces is better than breakpoint-specific vars.
reminder: this will need to be rebased after #41 is merged |
This makes the styles more self-documenting, and more DRY.
a7e75f8
to
964043b
Compare
This makes the spacing more consistent, and fixes several problems: * `alignfull` elements like `.post-navigation` should stretch to the viewport edge (but with internal padding). * Post titles should align with the post body. This is interconnected with related changes in the header/footer.
964043b
to
71175f2
Compare
Can you elaborate on that? |
Sorry I was misunderstanding the implementation, its fine :) |
alignfull
layout elements like.post-navigation
should stretch to the viewport edge (but with internal padding). Compare to the the revised mockup in Refine padding/margin, override block gap #28 (comment)footer-archive
still needs some work, but that can be fixed in the pixel-perfect milestone.The page archive also needs some refinement (removing post-specific blocks, etc), but that can be done later.
Fixes #37
Interconnected with WordPress/wporg-mu-plugins#15