[wp-trac] [WordPress Trac] #52623: Proposal: Add CSS variable for admin-bar height to core.

WordPress Trac noreply at wordpress.org
Fri Aug 20 00:40:31 UTC 2021


#52623: Proposal: Add CSS variable for admin-bar height to core.
-------------------------+-----------------------
 Reporter:  nico23       |       Owner:  ryelle
     Type:  enhancement  |      Status:  assigned
 Priority:  normal       |   Milestone:  5.9
Component:  Themes       |     Version:  5.7
 Severity:  minor        |  Resolution:
 Keywords:  has-patch    |     Focuses:  ui, css
-------------------------+-----------------------

Comment (by sabernhardt):

 I would like to avoid adding the CSS variable in the front-end bump
 callback. Implementing the custom property there would make the toolbar
 overlap site navigation/content with any Internet Explorer version, Opera
 Mini, etc.
 (The previous patch already creates the same broken layout if someone
 still uses IE6 to log in to a site, as a customer or subscriber, yet many
 sites break in other ways with older IE versions.)

 This variable would fit well with the scroll padding fix on #46371,
 however, because that requires a modern browser anyway.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/52623#comment:17>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list