[wp-trac] [WordPress Trac] #42300: Admin Bar CSS assumes body is not positioned
WordPress Trac
noreply at wordpress.org
Thu Jun 3 19:38:23 UTC 2021
#42300: Admin Bar CSS assumes body is not positioned
-------------------------------------+------------------------------
Reporter: joyously | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Toolbar | Version: 4.5.7
Severity: normal | Resolution:
Keywords: has-patch needs-testing | Focuses: css
-------------------------------------+------------------------------
Changes (by sabernhardt):
* keywords: => has-patch needs-testing
Comment:
Using padding instead of margin probably would help with full-page layouts
as well (#43244), though the discussion on #16222 concluded that margin
was safer then. So it's unlikely safe to switch that 10 years later.
I uploaded another possibility: making the body positioned relative for
everybody on the front end (not the admin side). So far, I tested it with
Twenty Twenty-One and did not see any problem with this quick proof-of-
concept using that theme.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/42300#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list