[wp-trac] [WordPress Trac] #49447: Twenty Twenty: style of rtl paragraph
WordPress Trac
noreply at wordpress.org
Sun Feb 16 05:41:11 UTC 2020
#49447: Twenty Twenty: style of rtl paragraph
---------------------------+------------------------------
Reporter: amirkamizi | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Bundled Theme | Version: 5.3.2
Severity: major | Resolution:
Keywords: | Focuses: css, rtl
---------------------------+------------------------------
Description changed by SergeyBiryukov:
Old description:
> when changing the language of the website with polylang plugin i noticed
> everything works perfectly except the alighnment of paragraphs which were
> still left to right although in the editor i set them to be right to left
> and it also got the class has-text-align-right
>
> after checking many things I realzed in the style-rtl.css file the
> mentioned class (has-text-align-right) has text align as left and (has-
> text-align-left) had text alight to left as well.
> so i changed the has-text-align-right to the following and now everything
> works great
>
> .has-text-align-right {
> text-align: right;
> }
New description:
when changing the language of the website with polylang plugin i noticed
everything works perfectly except the alighnment of paragraphs which were
still left to right although in the editor i set them to be right to left
and it also got the class has-text-align-right
after checking many things I realzed in the style-rtl.css file the
mentioned class (has-text-align-right) has text align as left and (has-
text-align-left) had text alight to left as well.
so i changed the has-text-align-right to the following and now everything
works great
{{{
.has-text-align-right {
text-align: right;
}
}}}
--
--
Ticket URL: <https://core.trac.wordpress.org/ticket/49447#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list