[wp-trac] [WordPress Trac] #62657: Twenty Sixteen: Latest Posts block with a background color has padding in the editor but not on front (was: Twenty Sixteen: Facing spacing issue in the latest post block while we change its background.)
WordPress Trac
noreply at wordpress.org
Thu Jan 9 01:14:52 UTC 2025
#62657: Twenty Sixteen: Latest Posts block with a background color has padding in
the editor but not on front
---------------------------+------------------------------
Reporter: viralsampat | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Bundled Theme | Version: 6.3
Severity: normal | Resolution:
Keywords: has-patch | Focuses: css
---------------------------+------------------------------
Changes (by sabernhardt):
* version: 6.7.1 => 6.3
Comment:
> the padding in the editor might not have been intentional—it appears to
be a side effect of the changes made to the List Block.
Yes, the Latest Posts padding would be a side effect of changes for List
blocks in [55966]. A discrepancy existed in WordPress 6.3, but it was less
noticeable when the front end had padding on three sides.
Since [https://github.com/WordPress/gutenberg/pull/63537/files GB63537],
the front-end block padding only applies to List blocks with a background.
Twenty Sixteen `editor-blocks.css` probably should reflect that decision
by using the `.wp-block-list` class instead of the element selectors.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/62657#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list