[wp-trac] [WordPress Trac] #58396: Twenty Twenty: Inconsistent left margin in Latest Posts & Latest Comments blocks.
WordPress Trac
noreply at wordpress.org
Wed May 24 17:49:34 UTC 2023
#58396: Twenty Twenty: Inconsistent left margin in Latest Posts & Latest Comments
blocks.
---------------------------+-----------------------------
Reporter: nkeller15 | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Bundled Theme | Version: 6.2
Severity: normal | Keywords:
Focuses: css |
---------------------------+-----------------------------
Hi all,
In the Twenty Twenty theme Latest Posts & Latest Comments blocks, it seems
the margin-left: auto property is being overwritten to margin-left: 0
causing an inconsistency in the alignment of core blocks. Additionally,
Latest Posts has this issue in the editor only and is aligned properly on
the front-end.
Video Demonstration:
https://www.loom.com/share/049e6cbe6f714c31b8f49795304d245c
Steps to reproduce:
1. Install and activate the Twenty Twenty theme
2. Ensure posts/comments exist in your site
3. Add the Latest Posts and Latest Comments blocks to a page
4. Add any other core block(s) to compare alignment
5. Inspect parent div of aforementioned blocks and see margin-left
property being set
6. Save the page and view the front-end, notice how Latest Posts is
aligned properly here, and Comments still are not
--
Ticket URL: <https://core.trac.wordpress.org/ticket/58396>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list