Twenty-Twenty: Fix paragraph block alignment issues when used on a RTL website.

Twenty Twenty's `style.css` file has `/*rtl:ignore*/` for the `.has-text-align-left` class, but that was previously missing from the `.has-text-align-right` class. As a result, the theme overrides block library styles on the front-end (and not in the editor). This changeset adds the missing declaration.

Props amirkamizi, mayankmajeji, ianbelanger, sabernhardt, hasanuzzamanshamim.
Fixes #49447.

Built from https://develop.svn.wordpress.org/trunk@53471


git-svn-id: http://core.svn.wordpress.org/trunk@53060 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
audrasjb 2022-06-06 21:42:13 +00:00
parent 5d96ddab10
commit 312f7d4b76
3 changed files with 4 additions and 2 deletions

View File

@ -2788,7 +2788,7 @@ h2.entry-title {
}
.has-text-align-right {
text-align: left;
text-align: right;
}
.has-drop-cap:not(:focus)::first-letter {

View File

@ -2806,6 +2806,8 @@ h2.entry-title {
}
.has-text-align-right {
/*rtl:ignore*/
text-align: right;
}

View File

@ -16,7 +16,7 @@
*
* @global string $wp_version
*/
$wp_version = '6.1-alpha-53470';
$wp_version = '6.1-alpha-53471';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.