Twenty Twenty: Improve support for Post Title block alignment.
This changeset ensures alignement settings are correctly reflected for the Post Title block in the Editor. Props smit08, kajalgohel, devtanbir, sabernhardt, audrasjb. Fixes #56167. Built from https://develop.svn.wordpress.org/trunk@54141 git-svn-id: http://core.svn.wordpress.org/trunk@53700 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
fd3e5e5f21
commit
b089b1d99c
|
@ -306,6 +306,14 @@ Inter variable font. Usage:
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.editor-styles-wrapper .wp-block-post-title.has-text-align-left {
|
||||||
|
text-align: left;
|
||||||
|
}
|
||||||
|
|
||||||
|
.editor-styles-wrapper .wp-block-post-title.has-text-align-right {
|
||||||
|
text-align: right;
|
||||||
|
}
|
||||||
|
|
||||||
/* DROP CAP */
|
/* DROP CAP */
|
||||||
|
|
||||||
.editor-styles-wrapper .has-drop-cap:not(:focus)::first-letter {
|
.editor-styles-wrapper .has-drop-cap:not(:focus)::first-letter {
|
||||||
|
|
|
@ -306,6 +306,18 @@ Inter variable font. Usage:
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.editor-styles-wrapper .wp-block-post-title.has-text-align-left {
|
||||||
|
|
||||||
|
/*rtl:ignore*/
|
||||||
|
text-align: left;
|
||||||
|
}
|
||||||
|
|
||||||
|
.editor-styles-wrapper .wp-block-post-title.has-text-align-right {
|
||||||
|
|
||||||
|
/*rtl:ignore*/
|
||||||
|
text-align: right;
|
||||||
|
}
|
||||||
|
|
||||||
/* DROP CAP */
|
/* DROP CAP */
|
||||||
|
|
||||||
.editor-styles-wrapper .has-drop-cap:not(:focus)::first-letter {
|
.editor-styles-wrapper .has-drop-cap:not(:focus)::first-letter {
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '6.1-alpha-54140';
|
$wp_version = '6.1-alpha-54141';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
|
Loading…
Reference in New Issue