Closed Sandstromer closed 3 years ago
similar problem at https://github.com/WordPress/gutenberg/issues/26239
I wonder if some gray padding like the template editor would be beneficial here. It would also ensure there's always some clickable area to clear selection. Cc @jasmussen
Is this a duplicate of https://github.com/WordPress/gutenberg/issues/29464? In that I also suggest that instead of adding padding, we can move the toolbar below the block. That lets us reserve the padding for indicating template editing, and it also takes up less space.
Yes, this is a duplicate of #31008.
Description
In the site editor, when editing the header, any blocks that are close to the top of the template are obscured by the toolbar. This is very apparent when removing the spacer block in the header of TT1-Blocks theme. When the toolbar obscures the block it is almost impossible to edit that particular block. Not all themes will contain a 70px spacer as the first block in the header, so making editing such things as site-title/tagline/navigation almost impossible.
Step-by-step reproduction instructions
Expected behaviour
All blocks should be editable and not obscured.
Actual behaviour
Blocks close to the top of the header are obscured and uneditable.
Screenshots or screen recording (optional)
Code snippet (optional)
WordPress information
Device information