Opened 14 years ago
Closed 14 years ago
#15507 closed defect (bug) (fixed)
Remove wp_admin_body_style()
Reported by: | ocean90 | Owned by: | |
---|---|---|---|
Milestone: | 3.1 | Priority: | normal |
Severity: | normal | Version: | 3.1 |
Component: | Administration | Keywords: | has-patch |
Focuses: | Cc: |
Description
I think we can remove the function. For admin we can use $admin_body_class and wp-admin.css and or themes can use body_class() .
Attachments (2)
Change History (10)
#2
@
14 years ago
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.
Note: See
TracTickets for help on using
tickets.
(In [16600]) Remove wp_admin_body_style(). Props ocean90. fixes #15507