fix night mode on old graphs

This commit is contained in:
Damien Elmes 2020-09-02 17:29:44 +10:00
parent ccfd6244de
commit 8d2867aa2d

View file

@ -104,7 +104,7 @@ class CollectionStats:
<style>
h1 { margin-bottom: 0; margin-top: 1em; }
.pielabel { text-align:center; padding:0px; color:white; }
body {background-image: url(data:image/png;base64,%s); }
body:not(.night_mode) {background-image: url(data:image/png;base64,%s); }
@media print {
.section { page-break-inside: avoid; padding-top: 5mm; }
}