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. Built from https://develop.svn.wordpress.org/trunk@47613 git-svn-id: http://core.svn.wordpress.org/trunk@47388 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
a753e44d4e
commit
4632322382
|
@ -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 {
|
||||
|
|
|
@ -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 {
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '5.5-alpha-47612';
|
||||
$wp_version = '5.5-alpha-47613';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue