Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #56083, comment 6


Ignore:
Timestamp:
03/27/2024 09:29:59 PM (2 months ago)
Author:
sabernhardt
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #56083, comment 6

    initial v1  
    1 1. The 1.3em padding does not fit a List block that has a background.
     11. The 1.3em padding does not fit a List block that has a background, so I used the `:not()` selector to remove it in that case (added within `:where()` to keep the same specificity).
    222. 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.
    333. 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).