[wp-trac] [WordPress Trac] #58396: Twenty Twenty: Inconsistent left margin in Latest Posts & Latest Comments blocks.
WordPress Trac
noreply at wordpress.org
Thu Jun 1 22:07:14 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:
Severity: normal | Resolution:
Keywords: has-patch has-screenshots needs- | Focuses: css
testing |
-------------------------------------------------+-------------------------
Changes (by sabernhardt):
* version: 6.2 =>
Comment:
The margins for both of these blocks broke between WordPress 5.3 and 6.0,
and not at the same time.
Patch updates:
- Setting the left margin (to zero) was necessary in the
[https://github.com/WordPress/twentytwenty/pull/384/commits/09e979598c0c932aae8374c9f2b668cb26aa3c7c
#diff-6f6c6d1f0ab51dcaaa0e10ddbf774242d91cd017afe79711219e34b1216be11dR892
original theme styles], though not anymore. I used `auto` instead of
removing it in an attempt to support more versions of the theme.
- The spacing matches for both the LTR and RTL versions.
- The Latest Posts block uses `.editor-styles-wrapper ul.wp-block-latest-
posts`, instead of adding the `.wp-block-latest-posts__list` class, for
lower specificity in the editor.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/58396#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list