Site Editor: Unwanted top margin added to the first block inside flow layout container #62148
Closed
Description
Description
This must have been introduced recently. It only happens when the Gutenberg plugin is activated and seems to happen only in the site editor.
Usually, when the layout is constrained, the top margin is removed from the first block in a container.
However, if the container has the flow layout, the top margin doesn't get removed.
Step-by-step reproduction instructions
- Open the site editor
- Add a group block
- Add a block in the group block
- Set the layout of the group block to flow(unconstrained).
- See the gap between the container and the first block in it.
Screenshots, screen recording, code snippet
No response
Environment info
- WP 6.5.3
- Gutenberg trunk
Please confirm that you have searched existing issues in the repo.
Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Yes
Activity