mirror of
https://github.com/WordPress/WordPress.git
synced 2025-01-09 18:08:09 +01:00
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:
parent
5d96ddab10
commit
312f7d4b76
@ -2788,7 +2788,7 @@ h2.entry-title {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.has-text-align-right {
|
.has-text-align-right {
|
||||||
text-align: left;
|
text-align: right;
|
||||||
}
|
}
|
||||||
|
|
||||||
.has-drop-cap:not(:focus)::first-letter {
|
.has-drop-cap:not(:focus)::first-letter {
|
||||||
|
@ -2806,6 +2806,8 @@ h2.entry-title {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.has-text-align-right {
|
.has-text-align-right {
|
||||||
|
|
||||||
|
/*rtl:ignore*/
|
||||||
text-align: right;
|
text-align: right;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @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.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
Loading…
Reference in New Issue
Block a user