mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-20 15:18:08 +02:00
Remove background when printing.
This commit is contained in:
parent
8d6aac1fe3
commit
b89d7272e2
1 changed files with 5 additions and 0 deletions
|
@ -1348,6 +1348,11 @@ canvas {
|
|||
}
|
||||
|
||||
@media print {
|
||||
/* General rules for printing. */
|
||||
body {
|
||||
background: transparent none;
|
||||
}
|
||||
|
||||
/* Rules for browsers that don't support mozPrintCallback. */
|
||||
#sidebarContainer, .toolbar, #loadingBox, #errorWrapper, .textLayer {
|
||||
display: none;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue