diff options
| author | bobzel <zzzman@gmail.com> | 2020-11-05 09:53:38 -0500 |
|---|---|---|
| committer | bobzel <zzzman@gmail.com> | 2020-11-05 09:53:38 -0500 |
| commit | 38912acdfe5d52ab068bb11d05e1767ecc5d56ac (patch) | |
| tree | b869aaa381ad95858221c6d4983ef28086f60707 /src/client/views/nodes/PDFBox.scss | |
| parent | 4becefec2200632b482b7660bd3bb0792a4ba1d8 (diff) | |
fixed layer ordering of annotaitons and overlays on PDFs so that overlays are always on top. made textLayer on PDFs display:none when not-selected to try to improve rendering.
Diffstat (limited to 'src/client/views/nodes/PDFBox.scss')
| -rw-r--r-- | src/client/views/nodes/PDFBox.scss | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/client/views/nodes/PDFBox.scss b/src/client/views/nodes/PDFBox.scss index e2bdd98cc..16cc9d27e 100644 --- a/src/client/views/nodes/PDFBox.scss +++ b/src/client/views/nodes/PDFBox.scss @@ -208,6 +208,7 @@ pointer-events: none; .pdfViewerDash-text { .textLayer { + display: none; span { user-select: none; } @@ -228,6 +229,7 @@ z-index: -1; .pdfViewerDash-text { .textLayer { + display: contents; span { user-select: text; } |
