diff options
| author | Marcin Serwin <[email protected]> | 2022-11-05 02:13:02 +0100 |
|---|---|---|
| committer | GitHub <[email protected]> | 2022-11-04 18:13:02 -0700 |
| commit | 347fe4911569dcb5301ca29ff2adc31d961f44a1 (patch) | |
| tree | 4b6d71878d538ad476e46ab208202ce711c19995 /data | |
| parent | aaac5eb7ecb96850093872c9c9607742936bebf3 (diff) | |
Change default background color of PDFs generated via HTML (#8422)
* Change default background color of PDFs generated via HTML
* Update tests
Diffstat (limited to 'data')
| -rw-r--r-- | data/templates/styles.html | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/data/templates/styles.html b/data/templates/styles.html index 11d2e0486..c21f1acab 100644 --- a/data/templates/styles.html +++ b/data/templates/styles.html @@ -28,6 +28,9 @@ body { } } @media print { + html { + background-color: $if(backgroundcolor)$$backgroundcolor$$else$white$endif$; + } body { background-color: transparent; color: black; |
