[wp-trac] [WordPress Trac] #60197: Twenty Fifteen: List block padding with a background color (was: Twenty Fifteen: List block list alignment issue.)

WordPress Trac noreply at wordpress.org
Sun Jul 14 16:50:37 UTC 2024


#60197: Twenty Fifteen: List block padding with a background color
-------------------------------------------------+-------------------------
 Reporter:  viralsampat                          |       Owner:  (none)
     Type:  defect (bug)                         |      Status:  assigned
 Priority:  normal                               |   Milestone:  Awaiting
                                                 |  Review
Component:  Bundled Theme                        |     Version:
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch needs-testing close 2nd-   |     Focuses:  css
  opinion                                        |
-------------------------------------------------+-------------------------
Changes (by sabernhardt):

 * keywords:  has-patch needs-testing close => has-patch needs-testing close
     2nd-opinion


Comment:

 The iframe editor shows the padding correctly, but the non-framed editor
 sets the padding to `0`:
 - The post editor assigns zero padding with `.edit-post-visual-editor
 ul:not(.wp-block-gallery)` in `editor-blocks.css`.
 - The widgets editor assigns zero padding with `.editor-styles-wrapper
 ul`, from the inline styles built on `editor-style.css`.

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


More information about the wp-trac mailing list