Only apply the admin bar bump down css to the screen media type so it doesn't affect printouts. Fixes #17512 props kawauso.

git-svn-id: https://develop.svn.wordpress.org/trunk@18088 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Peter Westwood 2011-06-01 14:30:12 +00:00
parent 83e351a7cc
commit 384371a6f3
1 changed files with 1 additions and 1 deletions

View File

@ -320,7 +320,7 @@ function wp_admin_bar_header() { ?>
*
*/
function _admin_bar_bump_cb() { ?>
<style type="text/css">
<style type="text/css" media="screen">
html { margin-top: 28px !important; }
* html body { margin-top: 28px !important; }
</style>