[wp-trac] [WordPress Trac] #56083: Twenty Twenty: The design of the ordered lists on the backend side is deteriorating

WordPress Trac noreply at wordpress.org
Wed Mar 27 21:27:14 UTC 2024


#56083: Twenty Twenty: The design of the ordered lists on the backend side is
deteriorating
-----------------------------------------------------+---------------------
 Reporter:  aezazshekh                               |       Owner:  (none)
     Type:  defect (bug)                             |      Status:  new
 Priority:  normal                                   |   Milestone:  6.6
Component:  Bundled Theme                            |     Version:
 Severity:  normal                                   |  Resolution:
 Keywords:  has-screenshots has-patch needs-testing  |     Focuses:  css
-----------------------------------------------------+---------------------
Changes (by sabernhardt):

 * keywords:  has-screenshots has-patch => has-screenshots has-patch needs-
     testing
 * milestone:  Awaiting Review => 6.6


Comment:

 1. The 1.3em padding does not fit a List block that has a background.
 2. List items need the top margin to match the front, and I targeted the
 List block so it would not apply to list-based blocks such as Archives or
 Latest Comments.
 3. The side margin overrides the margin in `edit-post/classic.css`, which
 has a
 [https://github.com/WordPress/gutenberg/blob/f585b05cd34c2bb18e87ec712422a04dc9e12d5c/packages
 /edit-post/src/classic.scss#L5 less specific selector in the plugin] this
 week than the rule below. I targeted only List Item blocks that are
 immediately inside the List block with a background (not nested lists).
 {{{
 .editor-styles-wrapper .wp-block {
   margin-left: auto;
   margin-right: auto;
 }
 }}}

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


More information about the wp-trac mailing list