mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2025-10-16 12:05:38 +00:00
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. git-svn-id: https://develop.svn.wordpress.org/trunk@54141 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
7c72b3d589
commit
b886ab6595
@ -306,6 +306,14 @@ Inter variable font. Usage:
|
||||
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 */
|
||||
|
||||
.editor-styles-wrapper .has-drop-cap:not(:focus)::first-letter {
|
||||
|
||||
@ -306,6 +306,18 @@ Inter variable font. Usage:
|
||||
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 */
|
||||
|
||||
.editor-styles-wrapper .has-drop-cap:not(:focus)::first-letter {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user