Skip to content

Commit

Permalink
Add hiddenCanvasElement styles
Browse files Browse the repository at this point in the history
Closes #1815
  • Loading branch information
wojtekmaj committed Jun 17, 2024
1 parent af1bd00 commit e382372
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions packages/react-pdf/src/Page/TextLayer.css
Original file line number Diff line number Diff line change
Expand Up @@ -108,3 +108,12 @@
.textLayer .endOfContent.active {
top: 0;
}

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

0 comments on commit e382372

Please sign in to comment.