Skip to content
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

Root Padding Deep Dive #393

Open
tropicandid opened this issue May 18, 2023 · 1 comment
Open

Root Padding Deep Dive #393

tropicandid opened this issue May 18, 2023 · 1 comment

Comments

@tropicandid
Copy link
Contributor

tropicandid commented May 18, 2023

Something new that came out with WP 6.1 is the concept of root padding. This feature could be beneficial in helping to maintain uniform component widths and paddings through the site as they interact with full width and non-full width elements. Maybe do some investigation on how this can be best incorporated with Gesso as it is today and how to best educate people on the best practice. Also take some time to consider any risks for integrating this practice into gesso as it stands today.

Reference to the documentation in wp.org:
https://make.wordpress.org/themes/2022/09/07/full-width-blocks-and-root-padding-in-wordpress-6-1/

If a PR is made for this change, let's have documentation stored for the changes and instructions on how to manage the site padding in the PR itself so the documentation can be ported over properly when merged.

@tropicandid
Copy link
Contributor Author

This ticket should be able to be closed. Let's just add a ref to the WP docs on root padding: https://developer.wordpress.org/themes/global-settings-and-styles/settings/use-root-padding-aware-alignments/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant