[wp-trac] [WordPress Trac] #61840: WP 6.6.1 fix still effects body tag
WordPress Trac
noreply at wordpress.org
Wed Aug 7 21:19:44 UTC 2024
#61840: WP 6.6.1 fix still effects body tag
--------------------------+-----------------------------
Reporter: nickfmc | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: 6.6.1
Severity: major | Keywords:
Focuses: css |
--------------------------+-----------------------------
The specificity issue here https://core.trac.wordpress.org/ticket/61661
that was fixed in WP 6.6.1 fixed the underlined links, however there is
still an issue with Body padding and the specificity of the below code.
If you have a fixed website navigation you might have body {padding-
top:100px;} this is going to be overwritten by the WP code.
:root :where(body) {
padding-top: 0px;
padding-right: 0px;
padding-bottom: 0px;
padding-left: 0px;
}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/61840>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list