mirror of
git://develop.git.wordpress.org/
synced 2025-03-21 12:29:53 +01: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. git-svn-id: https://develop.svn.wordpress.org/trunk@52250 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
1ef4bafe1a
commit
d939ada7a9
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user