mirror of
git://develop.git.wordpress.org/
synced 2025-04-12 16:15:07 +02:00
Twenty Twenty-One: Correct default image alignment in the editor.
By default, the theme centers images on the front end when no alignment is selected. In the editor, however, images were aligned to the left side of the block. This commit ensures that the alignment in the editor matches the one on the front end. Props sabernhardt, ashfame, poena, annezazu. Fixes #53809. git-svn-id: https://develop.svn.wordpress.org/trunk@52142 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
04f62997d3
commit
9451b13db3
@ -1458,6 +1458,7 @@ h6 {
|
||||
}
|
||||
|
||||
/* Center image block by default in the editor */
|
||||
.wp-block-image,
|
||||
.wp-block-image > div {
|
||||
text-align: center;
|
||||
}
|
||||
|
File diff suppressed because one or more lines are too long
@ -1127,6 +1127,7 @@ h6,
|
||||
}
|
||||
|
||||
/* Center image block by default in the editor */
|
||||
.wp-block-image,
|
||||
.wp-block-image > div {
|
||||
text-align: center;
|
||||
}
|
||||
|
File diff suppressed because one or more lines are too long
@ -1,5 +1,6 @@
|
||||
/* Center image block by default in the editor */
|
||||
|
||||
.wp-block-image,
|
||||
.wp-block-image > div {
|
||||
text-align: center;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user