Skip to content

Commit af0ca61

Browse files
committed
Hide pdf.js extra canvas element
1 parent 03b506c commit af0ca61

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

pdfjs/viewer.css

+10
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,16 @@ body {
2424
transform: rotate(270deg) translateX(-100%);
2525
}
2626

27+
#hiddenCopyElement,
28+
.hiddenCanvasElement {
29+
position: absolute;
30+
top: 0;
31+
left: 0;
32+
width: 0;
33+
height: 0;
34+
display: none;
35+
}
36+
2737
.pdfViewer {
2838
/* Define this variable here and not in :root to avoid to reflow all the UI
2939
when scaling (see #15929). */

0 commit comments

Comments
 (0)