Skip to content

Commit

Permalink
fix(pdf): sometimes goto destination not working
Browse files Browse the repository at this point in the history
  • Loading branch information
xyhp915 authored and tiensonqin committed Aug 12, 2021
1 parent 13eb3b3 commit df81cf3
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
7 changes: 5 additions & 2 deletions resources/js/pdfjs/pdf_viewer.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions src/main/frontend/extensions/pdf/pdf.css
Expand Up @@ -203,6 +203,8 @@
}

> .pdfViewer {
overflow: hidden;

&.disabled-text-selection {
user-select: none;
pointer-events: none;
Expand Down

0 comments on commit df81cf3

Please sign in to comment.