Make WordPress Core

Opened 5 weeks ago

Closed 5 weeks ago

Last modified 5 weeks ago

#63526 closed defect (bug) (duplicate)

Twenty Twenty-One: Margin inconsistencies in List block between Editor and Frontend

Reported by: rishabhwp's profile rishabhwp Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: Bundled Theme Keywords:
Focuses: Cc:

Description

I found this issue originally reported here:
https://github.com/WordPress/gutenberg/issues/58870

After testing it myself, I can confirm that the issue still persists in the latest version of WordPress only when using the Twenty Twenty-One theme.

Problem:
There is a visual inconsistency in how the List block is rendered in the block editor (backend) versus the frontend:

  • In the editor, each <li> item appears to have top and bottom margin.
  • In the frontend, this spacing is not present.

Editor View

https://i.postimg.cc/rsbM8KBF/Screenshot-2025-06-04-at-6-12-24-PM.png

Frontend View

https://i.postimg.cc/J4fMvH3p/Screenshot-2025-06-04-at-6-12-33-PM.png

Change History (5)

This ticket was mentioned in PR #8895 on WordPress/wordpress-develop by @rishabhwp.


5 weeks ago
#1

  • Keywords has-patch added

Trac ticket: https://core.trac.wordpress.org/ticket/63526

This PR addresses a visual inconsistency in the Twenty Twenty-One theme where list items in the block editor (List block) display additional vertical spacing not present on the frontend.

#2 @sandeepdahiya
5 weeks ago

  • Resolution set to duplicate
  • Status changed from new to closed

Duplicate of #60196.

This issue was earlier discussed in in Trac Ticket: https://core.trac.wordpress.org/ticket/60196
This still seems to be present.

Last edited 5 weeks ago by sandeepdahiya (previous) (diff)

#3 @rishabhwp
5 weeks ago

  • Keywords close added; has-patch removed

I have created a PR and attached it to ticket (https://core.trac.wordpress.org/ticket/60196). Closing it as its duplicate.

#4 @sabernhardt
5 weeks ago

  • Keywords close removed
  • Milestone Awaiting Review deleted

@rishabhwp commented on PR #8895:


5 weeks ago
#5

Hey @sabernhardt,
I'm new to core contributions. I have implemented the changes you suggested on Trac. Could you please review the PR or tag someone who can take a look? Thanks a lot!

Note: See TracTickets for help on using tickets.