Fix/remove empty space from inserter#56926
Conversation
…fferent class for heading container
|
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. |
|
I think we should close this; but I could use a hand with the Inserter optimizations visualized as a part of #61051. |
|
@richtabor Makes sense, let's close this one. I can checkout the linked issue later this week. Is there anything specific you'd need help with? |
|
I think the search results for patterns and blocks from the block directory could use cleaning up. The results in general are difficult to parse as-is. |
What?
This PR is removing unnecessary empty space(s) in the Inserter panel.
Why?
Closes #56802
In the inserter panel the goal is to remove space between content area and search results
How?
The
InserterPanelcomponent takes a title property. After checking Gutenberg codebase revealed that property is either plain string orVisuallyHiddencomponent. Added logic now checks whether title property is specificallyVisuallyHiddencomponent and use proper classes after thatTesting Instructions
This one hard to describe. Please also check the linked issue there are some really good screenshots (one picture versus million words)
Testing Instructions for Keyboard
Screenshots or screencast