mirror of
https://github.com/WordPress/WordPress.git
synced 2025-03-09 07:00:01 +00:00
Twenty Twenty One: Remove Image block placeholder alignment override in editor styles.
This changes excludes the Image block placeholder from the default image centering in Twenty Twenty-One editor styles. Props multidots1896, sabernhardt, Boniu91, justinahinon. Fixes #54254. Built from https://develop.svn.wordpress.org/trunk@52250 git-svn-id: http://core.svn.wordpress.org/trunk@51842 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
b0743f17e1
commit
0c54c14a37
@ -1197,7 +1197,7 @@ h6,
|
||||
|
||||
/* Center image block by default in the editor */
|
||||
.wp-block-image,
|
||||
.wp-block-image > div {
|
||||
.wp-block-image > div:not(.components-placeholder) {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
|
@ -1128,7 +1128,7 @@ h6,
|
||||
|
||||
/* Center image block by default in the editor */
|
||||
.wp-block-image,
|
||||
.wp-block-image > div {
|
||||
.wp-block-image > div:not(.components-placeholder) {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
/* Center image block by default in the editor */
|
||||
|
||||
.wp-block-image,
|
||||
.wp-block-image > div {
|
||||
.wp-block-image > div:not(.components-placeholder) {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
|
@ -16,7 +16,7 @@
|
||||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '5.9-alpha-52249';
|
||||
$wp_version = '5.9-alpha-52250';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
Loading…
x
Reference in New Issue
Block a user