[wp-trac] [WordPress Trac] #51157: Bundled Themes: List block appears too far to the left after 5.5 upgrade

WordPress Trac noreply at wordpress.org
Mon Oct 19 11:44:25 UTC 2020


#51157: Bundled Themes: List block appears too far to the left after 5.5 upgrade
-------------------------------------------------+-------------------------
 Reporter:  kjellr                               |       Owner:  (none)
     Type:  defect (bug)                         |      Status:  new
 Priority:  normal                               |   Milestone:  5.5.2
Component:  Bundled Theme                        |     Version:
 Severity:  normal                               |  Resolution:
 Keywords:  has-screenshots needs-testing dev-   |     Focuses:  css, rtl
  feedback has-patch                             |
-------------------------------------------------+-------------------------

Comment (by sabernhardt):

 Building off of 51157.1 for Twenty Ten to Twenty Seventeen,
 [attachment:"51157.2.patch"]:
 1. Indents nested lists in list and category blocks.
 2. Matches ordered and unordered indentation for the classic block's
 lists.

 Twenty Seventeen still needed
 1. the left margin removed from RTL nested lists and
 2. `ul:not(.wp-block-gallery)` to override an earlier padding rule in
 editor-blocks.css

 Twenty Thirteen required a different approach than the others, and now the
 ordered and unordered lists (in list blocks) have the same indentation as
 each other. (The full/half-width group block alignment is noted on
 #51440.)

 Indentation values taken from styles.css and/or editor-styles.css:
 * 1.5em Twenty Ten
 * 2.5em Twenty Eleven
 * 40px Twenty Thirteen
 * 20px Twenty Fourteen
 * 23px Twenty Fifteen (from editor-styles.css)
 * 1.5em Twenty Sixteen (from style.css at min-width:44.375em)
 * 1.5em Twenty Seventeen

 Screenshots:
 https://www.flickr.com/gp/34028247@N03/3A7Z8X

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


More information about the wp-trac mailing list