[wp-trac] [WordPress Trac] #57560: Twenty Twenty-Two theme: margin and padding issue in comments section
WordPress Trac
noreply at wordpress.org
Mon Jan 30 12:26:21 UTC 2023
#57560: Twenty Twenty-Two theme: margin and padding issue in comments section
-------------------------------------------------+-------------------------
Reporter: patelhitesh | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting
| Review
Component: Bundled Theme | Version:
Severity: normal | Resolution:
Keywords: needs-patch needs-design-feedback | Focuses: css
has-screenshots |
-------------------------------------------------+-------------------------
Comment (by poena):
The post comments block is deprecated and making this small adjustment to
the theme makes sense to me since the block is less likely to be updated.
This bug only affects users who have not updated to the new comments
block. Ideally the CSS fix should be loaded conditionally, only if the old
comments block is present on the page, but I think we can make an
exception since it is such a small amount of CSS.
I would recommend changing the {{{20px}}} to {{{1rem}}}, to match the
spacing that is already applied around the comment comment. Other than
that the PR works well for me and solves the problem.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/57560#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list