enable backgrounds images when printing to pdf (closes #271)
This commit is contained in:
parent
11fc906add
commit
6b0fff3512
1 changed files with 14 additions and 15 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue