Skip to content

Commit 4ccb017

Browse files
octocorvusthestinger
authored andcommitted
bugfix: add missing CSS for hiddenCanvasElement
This is required by the new pdf.js version.
1 parent ce7262b commit 4ccb017

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

viewer/css/pdf_viewer.css

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,3 +45,12 @@ canvas {
4545
[data-main-rotation="270"] {
4646
transform: rotate(270deg);
4747
}
48+
49+
.hiddenCanvasElement {
50+
position: absolute;
51+
top: 0;
52+
left: 0;
53+
width: 0;
54+
height: 0;
55+
display: none;
56+
}

0 commit comments

Comments
 (0)