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:
parent
2ad5ccbe7b
commit
54511399a8
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue