Make WordPress Core

Opened 7 weeks ago

Last modified 5 days ago

#49447 new defect (bug)

Twenty Twenty: style of rtl paragraph

Reported by: amirkamizi Owned by:
Milestone: 5.5 Priority: normal
Severity: normal Version: 5.3
Component: Bundled Theme Keywords: has-patch
Focuses: css, rtl Cc:

Description (last modified by SergeyBiryukov)

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;

Attachments (1)

49447.diff (303 bytes) - added by mayankmajeji 5 days ago.
has-text-align-right class alignment corrected

Download all attachments as: .zip

Change History (5)

#1 @SergeyBiryukov
7 weeks ago

  • Component changed from Formatting to Bundled Theme
  • Summary changed from style of rtl paragraph for twenty twenty theme to Twenty Twenty: style of rtl paragraph

#2 @SergeyBiryukov
7 weeks ago

  • Description modified (diff)

#3 @ianbelanger
5 weeks ago

  • Keywords needs-patch added
  • Milestone changed from Awaiting Review to 5.5
  • Severity changed from major to normal
  • Version changed from 5.3.2 to 5.3

5 days ago

has-text-align-right class alignment corrected

#4 @mayankmajeji
5 days ago

  • Keywords has-patch added; needs-patch removed
Note: See TracTickets for help on using tickets.