WordPress.org

Make WordPress Core

Opened 12 months ago

Closed 9 months ago

#51573 closed defect (bug) (fixed)

Twenty Nineteen: unordered list styles in RTL languages

Reported by: sabernhardt Owned by:
Milestone: 5.7 Priority: normal
Severity: normal Version:
Component: Bundled Theme Keywords:
Focuses: css, rtl Cc:

Description

Twenty Nineteen does not indent nested unordered lists (in list blocks) for RTL editor styles.

Potential fix:

.rtl .editor-styles-wrapper ul ul,
.rtl .editor-styles-wrapper ol ul {
	padding-right: 2em;
}

See also #51157

Attachments (2)

2019-rtl-list-blocks.png (69.6 KB) - added by sabernhardt 12 months ago.
2019-lists-5.7-trunk.png (72.4 KB) - added by sabernhardt 9 months ago.
nested lists in 5.7 trunk

Download all attachments as: .zip

Change History (3)

#1 @sabernhardt
9 months ago

  • Keywords needs-patch removed
  • Milestone changed from Awaiting Review to 5.7
  • Resolution set to fixed
  • Status changed from new to closed

The underlying problem has been fixed on the editor side in GB27947 for WordPress 5.7 (merged into core with #52394).

The left margin and padding added to these list elements by the editor will be reflected to the right side in RTL languages (in WordPress 5.7).

.editor-styles-wrapper ul,
.editor-styles-wrapper ol {
    margin-bottom: 28px;
    padding-left: 1.3em;
    margin-left: 1.3em;
}

@sabernhardt
9 months ago

nested lists in 5.7 trunk

Note: See TracTickets for help on using tickets.