Categories List: Add border block support#63950
Conversation
|
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. |
carolinan
left a comment
There was a problem hiding this comment.
I have followed the testing instructions and the border is working as described.
When there is only one category in the list, the content is slightly offset because the list item has a bottom margin of 0.5rem. Then the content is not perfectly vertically centered inside the border. But I don't think that should block this PR.
|
Thank you @carolinan
Spent little time on this, it appears to be theme-specific. When I tested it with an empty theme, the categories list had no margin. |
What?
Add border block support to the
Categories Listblock.Part of #43247
Why?
Categories Listblock is missing border support.How?
Adds the border block support in block.json
Testing Instructions
Categories Listblock's border is configurable via Global StylesCategories Listblock and Apply the border stylesWatch attached video for more information.
Screenshots or screencast
Blog-Home-.-Template-.-gutenberg-.-Editor-.-WordPress.9.webm