Skip to content

Commit

Permalink
Keep PDF.js text layer always on top of the page
Browse files Browse the repository at this point in the history
  • Loading branch information
mrtcode committed Feb 19, 2024
1 parent 11001e8 commit e034166
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pdfjs/viewer.css
Original file line number Diff line number Diff line change
Expand Up @@ -279,6 +279,7 @@ body.portal #viewerContainer::-webkit-scrollbar { /* WebKit */
user-select: auto;
-webkit-user-select: auto;
transform-origin: 0 0;
z-index: 2;
}

.textLayer :is(span, br) {
Expand Down

0 comments on commit e034166

Please sign in to comment.