-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Description
Description
I was surprised to find out, that the "Align left" and "Align right" options break the content width layout for some Blocks like Cover. I have a feeling there are some clear: boths missing.
This seems like a good related issue to a general overhaul: #62840.
Step-by-step reproduction instructions
-
Insert Block (e.g. Image Block) and set to "Align left".
-
Add Paragraph Blocks after the Image Block.
-
Observe, how the Image Block floats left of the Paragraph Blocks, indenting the text.
-
Insert second Image Block after the left aligned Block and set to "Wide width".
-
Observe, how the floating Image Block sits above the wide aligned Image Block. This is correct.
-
Transform the second Image Block to a Cover Block.
-
Observe, how the floating Block pushes the Cover Block out of the way, breaking the layout.
Screenshots, screen recording, code snippet
Bildschirmaufnahme.2025-12-02.um.12.35.13.mov
Bildschirmaufnahme.2025-12-02.um.12.35.35.mov
Bildschirmaufnahme.2025-12-02.um.12.35.56.mov
Environment info
- Firefox 145.0.2
- WordPress Playground 6.8
- PHP 8.3
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
Please confirm which theme type you used for testing.
- Block
- Classic
- Hybrid (e.g. classic with theme.json)
- Not sure