[wp-trac] [WordPress Trac] #52401: Twenty Twenty: RTL list styles

WordPress Trac noreply at wordpress.org
Tue Feb 2 05:36:33 UTC 2021


#52401: Twenty Twenty: RTL list styles
---------------------------+---------------------
 Reporter:  desrosj        |       Owner:  (none)
     Type:  defect (bug)   |      Status:  new
 Priority:  normal         |   Milestone:  5.7
Component:  Bundled Theme  |     Version:  5.6
 Severity:  normal         |  Resolution:
 Keywords:  has-patch      |     Focuses:
---------------------------+---------------------

Comment (by sabernhardt):

 [attachment:"52401.diff"] is fine, though the value could be adjusted from
 `2em` to `1.3em` for better consistency. The patch would keep those
 indentations for any sites using the next version of Twenty Twenty with
 either WordPress 5.5 or 5.6.

 Reverting [49510] is another option. GB27947 fixed the underlying problem
 behind #51574 on the editor side for WordPress 5.7 (merged into trunk with
 #52394).

 The left margin and padding added to these list elements was not reflected
 in RTL, and [49510] worked around that in the Twenty Twenty theme instead
 of correcting in the editor.
 {{{
 .editor-styles-wrapper ul,
 .editor-styles-wrapper ol {
     margin-bottom: 28px;
     padding-left: 1.3em;
     margin-left: 1.3em;
 }
 }}}

 Twenty Nineteen never had a theme-specific patch, so I'll close #51573.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/52401#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list