Cannot center align image within cover #44810
Labels
[Block] Cover
Affects the Cover Block - used to display content laid over a background image
[Type] Bug
An existing feature does not function as intended
Description
With an image inside a cover, setting the image to align center does not center the image.
Step-by-step reproduction instructions
Add a cover block.
Add a smaller image inside the cover.
Set the image alignment property to center.
The image does not align to the center, and is incorrectly left aligned.
Screenshots, screen recording, code snippet
Environment info
Latest WP and Gutenberg.
Issue is also present without Gutenberg active.
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
The text was updated successfully, but these errors were encountered: