[wp-trac] [WordPress Trac] #43244: adminbar

WordPress Trac noreply at wordpress.org
Wed Feb 7 09:25:04 UTC 2018


#43244: adminbar
-------------------------+-----------------------------
 Reporter:  loranrendel  |      Owner:
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  Awaiting Review
Component:  General      |    Version:
 Severity:  normal       |   Keywords:
  Focuses:               |
-------------------------+-----------------------------
 The Adminbar breaks full-height layouts by using margin on `html`, but if
 we will replace `_admin_bar_bump_cb` code with following:

 {{{
     <style type="text/css" media="screen">
         html { padding-top: 32px !important; }
         @media screen and ( max-width: 782px ) {
             html { padding-top: 46px !important; }
         }
     </style>
 }}}

 that will work like before, but stops breaking full-height layouts, for
 example

 {{{
 html{height: 100%}
 body{min-height: 100%}
 }}}

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


More information about the wp-trac mailing list