mirror of
git://develop.git.wordpress.org/
synced 2025-05-02 01:47:53 +02: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. git-svn-id: https://develop.svn.wordpress.org/trunk@53471 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
7971c1bf9b
commit
ea687badfd
@ -2788,7 +2788,7 @@ h2.entry-title {
|
||||
}
|
||||
|
||||
.has-text-align-right {
|
||||
text-align: left;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.has-drop-cap:not(:focus)::first-letter {
|
||||
|
@ -2806,6 +2806,8 @@ h2.entry-title {
|
||||
}
|
||||
|
||||
.has-text-align-right {
|
||||
|
||||
/*rtl:ignore*/
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user