Bundled Themes: Twenty Twenty resized images are centered inside the editor (with no alignment set) since WordPress 5.4.

Fixes the image alignment issue by removing `margin-left: auto;` and `margin-right: auto;` from `.editor-styles-wrapper .wp-block-image.is-resized`.

Props dianeco, JavierCasares.
Fixes #49600.

git-svn-id: https://develop.svn.wordpress.org/trunk@47613 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ian Belanger 2020-04-22 19:23:54 +00:00
parent 2b5b39931c
commit c1bb2c2f74
2 changed files with 0 additions and 10 deletions

View File

@ -1054,11 +1054,6 @@ hr.wp-block-separator.is-style-dots::before {
margin-top: 30px;
}
.editor-styles-wrapper .wp-block-image.is-resized {
margin-right: auto;
margin-left: auto;
}
/* Block: Group ------------------------------ */
.editor-styles-wrapper .wp-block-group.has-background {

View File

@ -1054,11 +1054,6 @@ hr.wp-block-separator.is-style-dots::before {
margin-top: 30px;
}
.editor-styles-wrapper .wp-block-image.is-resized {
margin-left: auto;
margin-right: auto;
}
/* Block: Group ------------------------------ */
.editor-styles-wrapper .wp-block-group.has-background {