Skip to content

Commit

Permalink
fix: prevent mouse drag on links, etc. in PDF rendering (Fixes #918 )
Browse files Browse the repository at this point in the history
  • Loading branch information
danielweck committed Oct 14, 2020
1 parent 414b730 commit bee2de1
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/renderer/reader/pdf/webview/index_pdf.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,14 @@ color: white !important;
animation-timing-function: linear;
}
*/
*,
*::after,
*::before {
-webkit-user-drag: none !important;
-webkit-app-region: no-drag !important;
}
</style>

<head>
Expand Down

0 comments on commit bee2de1

Please sign in to comment.