-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Tracking: Dimensions Design Tools Consistency #43243
Comments
Update: I have added the Footnotes and Details blocks to the list. |
Update: I have updated the table with the latest specs. At the same time, I also added the Something I noticed while working on this is that even if I don't explicitly define support in For example, the following definition shows the padding, margin, block gap and min-height controls by default: {
"supports": {
"dimensions": {
"minHeight": true
},
"spacing": {
"margin": true,
"padding": true,
"blockGap": true
}
}
} This behavior is different from the Typography support. I don't know if this is an original specification or some kind of bug 🤔 |
Thanks again @t-hamano for all the effort in keeping these issues up-to-date. I don't think the
These block supports pre-existed the ability to define which controls display by default. I believe the current behaviour is for backwards compatibility. Perhaps creating an issue to address and discuss this further would be a good idea? P.S. Can you update the merged PRs list with any links for the blocks you updated? |
I also have no strong opinion on adding
Yes, maybe it can be addressed after this issue is completed. |
Update: Added the Query Total block to the list. |
Overview
This issue details the current state of dimensions and spacing block support or design tool adoption across all blocks and tasks required to fill any gaps. Overall design tool consistency efforts are being tracked via the parent issue: #43241.
Guidelines for Adopting Spacing Supports
true
rather than["top", "bottom"]
box-sizing: border-box
. This will be reviewed on a case-by-case basis. (Exceptions likely).Legend
Block Support Adoption
Note: Deprecated blocks have been omitted from this table. e.g. Comment Author Avatar, Post Comment & Text Columns.
Known Issues
Several blocks adopting padding support will also probably need
box-sizing: border-box
added to their styles. A sweep should be completed before closing this issue.Before the Post Template block can fully adopt spacing supports it may need a bit of a refactor: Post Template: Refactor ad hoc flex container to use layout block support flex type #44557
Merged PRs
The following list details all the PRs merged as part of this effort to increase spacing support.
PRs with pending questions, discussions, or concerns
Possible Follow-Ups
The text was updated successfully, but these errors were encountered: