[wp-trac] [WordPress Trac] #61898: Use --wp-admin--admin-bar--height variable in css
WordPress Trac
noreply at wordpress.org
Thu Feb 27 02:52:45 UTC 2025
#61898: Use --wp-admin--admin-bar--height variable in css
-------------------------+-----------------------------
Reporter: tdrayson | Owner: SergeyBiryukov
Type: enhancement | Status: reviewing
Priority: normal | Milestone: 6.8
Component: Toolbar | Version:
Severity: normal | Resolution:
Keywords: has-patch | Focuses: css
-------------------------+-----------------------------
Comment (by sabernhardt):
This ticket should only edit values within the admin, where everyone would
be logged in and have the toolbar. Adding the `common` or `admin-menu`
stylesheets on the front end could break the page in other ways.
However, plugins can add an editor on the front end, which could include
the media dialog and `media.css`. I did not find the `fixed` class on the
`.attachments-browser` element in WPBakery's front-end editor, but that
had the dialog and stylesheet. Another plugin might be affected by the
current PR. Maybe I should undo the changes to `media.css`.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/61898#comment:14>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list