We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 7fef896 + b932eaf commit 93c0626Copy full SHA for 93c0626
web/pdf_print_service.js
@@ -120,15 +120,7 @@ PDFPrintService.prototype = {
120
this.pageStyleSheet = document.createElement("style");
121
const pageSize = this.pagesOverview[0];
122
this.pageStyleSheet.textContent =
123
- // "size:<width> <height>" is what we need. But also add "A4" because
124
- // Firefox incorrectly reports support for the other value.
125
- "@supports ((size:A4) and (size:1pt 1pt)) {" +
126
- "@page { size: " +
127
- pageSize.width +
128
- "pt " +
129
- pageSize.height +
130
- "pt;}" +
131
- "}";
+ "@page { size: " + pageSize.width + "pt " + pageSize.height + "pt;}";
132
body.appendChild(this.pageStyleSheet);
133
},
134
0 commit comments