[wp-trac] [WordPress Trac] #60196: Twenty Twenty-One: List Item blocks have extra margin in editor
WordPress Trac
noreply at wordpress.org
Wed Jul 2 07:10:40 UTC 2025
#60196: Twenty Twenty-One: List Item blocks have extra margin in editor
-------------------------------------+-----------------------
Reporter: nidhidhandhukiya | Owner: (none)
Type: defect (bug) | Status: assigned
Priority: normal | Milestone: 6.9
Component: Bundled Theme | Version: 6.1
Severity: minor | Resolution:
Keywords: has-test-info has-patch | Focuses: css
-------------------------------------+-----------------------
Changes (by rishabhwp):
* keywords: has-test-info has-patch changes-requested => has-test-info
has-patch
Comment:
Thanks for the feedback, @sabernhardt!
I've made the requested changes. I removed the rule that set margins to
zero for list items and updated the selector to exclude .wp-block-list-
item from receiving vertical margins. This should better respect any
custom styles applied to list items.
Let me know if anything else needs adjustment.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/60196#comment:29>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list