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: http://svn.automattic.com/wordpress/trunk@18088 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
westi 2011-06-01 14:30:12 +00:00
parent 2ad5ccbe7b
commit 54511399a8

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>