enable backgrounds images when printing to pdf (closes #271)

This commit is contained in:
Hakim El Hattab 2013-02-03 16:17:46 -05:00
parent 11fc906add
commit 6b0fff3512
1 changed files with 14 additions and 15 deletions

View File

@ -10,6 +10,7 @@
background. This prevents elements from extending
beyond the edge of the printed page, and prevents
unnecessary background images from printing */
* {
-webkit-print-color-adjust: exact;
}
@ -19,16 +20,14 @@ body {
width: auto;
height: auto;
border: 0;
margin: 0 5%;
padding: 0;
float: none !important;
overflow: visible;
background-image: none !important;
}
html {
width: auto;
height: auto;
width: 100%;
height: 100%;
overflow: visible;
}