[wp-trac] [WordPress Trac] #61898: Use --wp-admin--admin-bar--height variable in css

WordPress Trac noreply at wordpress.org
Tue Aug 20 10:02:19 UTC 2024


#61898: Use --wp-admin--admin-bar--height variable in css
-------------------------+-----------------------------
 Reporter:  tdrayson     |      Owner:  (none)
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  Awaiting Review
Component:  Toolbar      |    Version:
 Severity:  normal       |   Keywords:
  Focuses:  ui           |
-------------------------+-----------------------------
 We have the css variable `--wp-admin--admin-bar--height` set and
 available, however the common.css file still uses a hard coded 32px value.

 {{{
 html.wp-toolbar {
         padding-top: 32px;
         box-sizing: border-box;
         -ms-overflow-style: scrollbar; /* See ticket #48545 */
 }
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/61898>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list