Skip to content

Commit

Permalink
bugfix: add missing CSS for hiddenCanvasElement
Browse files Browse the repository at this point in the history
This is required by the new pdf.js version.
  • Loading branch information
octocorvus authored and thestinger committed May 7, 2024
1 parent ce7262b commit 4ccb017
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions viewer/css/pdf_viewer.css
Original file line number Diff line number Diff line change
Expand Up @@ -45,3 +45,12 @@ canvas {
[data-main-rotation="270"] {
transform: rotate(270deg);
}

.hiddenCanvasElement {
position: absolute;
top: 0;
left: 0;
width: 0;
height: 0;
display: none;
}

0 comments on commit 4ccb017

Please sign in to comment.