-
Notifications
You must be signed in to change notification settings - Fork 4.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Image alignment is left by default but it displays center as default #33349
Comments
I was able to reproduce this on Linux/Firefox with I added a small Image & by default it should be left aligned, as reflected in editor and as per the toolbar button state, but with the theme its center aligned. Perhaps this is a theme issue and not Gutenberg issue. I will investigate further in a bit and report back. |
Twenty Twenty-One theme has |
Reported - https://core.trac.wordpress.org/ticket/53809 Going to close this issue here. |
i believe is not related to the theme here for example: #31011 |
@avagp That seems like an issue when centre alignment when chosen doesn't work as expected. This issue that you filed was about default alignment when nothing is chosen, in which case the default theme had an inconsistency as I explained. So these actually are two different things. Plus with every theme, there can be its own version of inconsistencies, so we have to mind that. If you feel different, please argue your findings. |
Hey there is a PR that is being worked on here: #35787 An easy way to test the PR is following this method: https://make.wordpress.org/design/2021/03/03/testing-a-gutenberg-pull-request-pr/ |
Description
If you add a new image from library, by default it will show that the alignment is centered, BUT the real alignment is left.
Step-by-step reproduction instructions
Expected behaviour
It should be left alignment as default
Actual behaviour
It shows centered alignment
Screenshots or screen recording (optional)
Code snippet (optional)
WordPress information
Device information
The text was updated successfully, but these errors were encountered: