[wp-trac] [WordPress Trac] #15507: Remove wp_admin_body_style()

WordPress Trac wp-trac at lists.automattic.com
Wed Jan 26 00:09:16 UTC 2011


#15507: Remove wp_admin_body_style()
----------------------------+---------------------
 Reporter:  ocean90         |       Owner:
     Type:  defect (bug)    |      Status:  closed
 Priority:  normal          |   Milestone:  3.1
Component:  Administration  |     Version:  3.1
 Severity:  normal          |  Resolution:  fixed
 Keywords:  has-patch       |
----------------------------+---------------------

Comment (by WraithKenny):

 Places the `padding-top: 28px` rule on the first appropriate element that
 isn't set to `height: 100%;` (which is `#wphead`).

 In 3.1-RC3, you can see that the height of body.admin-bar is larger than
 100% (easier to see on pages where the window is taller then the page
 content) which creates scroll-bars where none are needed.

 (Might also provide a hint to Theme designers who look to wp-admin for css
 support on layouts that have css-positioned elements.)

 Tested on Firefox 4.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/15507#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list