enable backgrounds images when printing to pdf (closes #271)
This commit is contained in:
parent
11fc906add
commit
6b0fff3512
|
@ -10,6 +10,7 @@
|
||||||
background. This prevents elements from extending
|
background. This prevents elements from extending
|
||||||
beyond the edge of the printed page, and prevents
|
beyond the edge of the printed page, and prevents
|
||||||
unnecessary background images from printing */
|
unnecessary background images from printing */
|
||||||
|
|
||||||
* {
|
* {
|
||||||
-webkit-print-color-adjust: exact;
|
-webkit-print-color-adjust: exact;
|
||||||
}
|
}
|
||||||
|
@ -19,16 +20,14 @@ body {
|
||||||
width: auto;
|
width: auto;
|
||||||
height: auto;
|
height: auto;
|
||||||
border: 0;
|
border: 0;
|
||||||
margin: 0 5%;
|
|
||||||
padding: 0;
|
padding: 0;
|
||||||
float: none !important;
|
float: none !important;
|
||||||
overflow: visible;
|
overflow: visible;
|
||||||
background-image: none !important;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
html {
|
html {
|
||||||
width: auto;
|
width: 100%;
|
||||||
height: auto;
|
height: 100%;
|
||||||
overflow: visible;
|
overflow: visible;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user