[wp-trac] [WordPress Trac] #56195: Twenty Twenty Two: Padding issue in Post Title Block
WordPress Trac
noreply at wordpress.org
Mon Jul 11 12:51:47 UTC 2022
#56195: Twenty Twenty Two: Padding issue in Post Title Block
-------------------------------------+------------------------------
Reporter: varshil151189 | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Bundled Theme | Version: 6.0
Severity: normal | Resolution:
Keywords: has-patch needs-testing | Focuses: ui, css
-------------------------------------+------------------------------
Comment (by poena):
Hi!
I am able to reproduce this in other themes, I believe it is a problem
with the default block styles, not the theme. Let's do some more testing?
I tested with Emptytheme, which does not have any block styles of its own.
I tested with the post title, level H2 (default heading level), using a
color from the default WordPress color palette (as opposed to a custom
color).
In the editor I see the following CSS:
{{{
h1.has-background, h2.has-background, h3.has-background, h4.has-
background, h5.has-background, h6.has-background {
padding: 1.25em 2.375em;
}
}}}
But on the front, the .has-background padding class is not loading.
I tested with WordPress 6.0, with and without Gutenberg, on Chrome, Mac
OS.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/56195#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list