mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-20 23:28:06 +02:00
Revert PR 5510, except in WebKit browsers, for breaking print preview in Firefox
See https://bugzilla.mozilla.org/show_bug.cgi?id=1138993.
This commit is contained in:
parent
c69ad5885c
commit
f0d538d7cf
2 changed files with 8 additions and 4 deletions
|
@ -1,4 +1,12 @@
|
|||
<div id="mozPrintCallback-shim" hidden>
|
||||
<style>
|
||||
@media print {
|
||||
#printContainer div {
|
||||
page-break-after: always;
|
||||
page-break-inside: avoid;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
<style scoped>
|
||||
#mozPrintCallback-shim {
|
||||
position: fixed;
|
||||
|
|
|
@ -1717,10 +1717,6 @@ html[dir='rtl'] #documentPropertiesOverlay .row > * {
|
|||
left: 0;
|
||||
display: block;
|
||||
}
|
||||
#printContainer div {
|
||||
page-break-after: always;
|
||||
page-break-inside: avoid;
|
||||
}
|
||||
}
|
||||
|
||||
.visibleLargeView,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue