diff options
| author | bob <bcz@cs.brown.edu> | 2019-11-18 16:46:51 -0500 |
|---|---|---|
| committer | bob <bcz@cs.brown.edu> | 2019-11-18 16:46:51 -0500 |
| commit | e5e4265a1959abd783f09961325f763bd51213ca (patch) | |
| tree | 663af10309cf97ab1a55ad3a8fa5952d03ba2b77 /src/client/views/pdf/PDFViewer.scss | |
| parent | 6ecbfba52bad2dd64e07472b5f4ef06f95b5544b (diff) | |
trying to get pdfs to work
Diffstat (limited to 'src/client/views/pdf/PDFViewer.scss')
| -rw-r--r-- | src/client/views/pdf/PDFViewer.scss | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/src/client/views/pdf/PDFViewer.scss b/src/client/views/pdf/PDFViewer.scss index 8332501f4..076efca16 100644 --- a/src/client/views/pdf/PDFViewer.scss +++ b/src/client/views/pdf/PDFViewer.scss @@ -14,8 +14,7 @@ // } .textLayer { - mix-blend-mode: multiply; - opacity: 0.9; + mix-blend-mode: multiply;// bcz: makes text fuzzy! span { padding-right: 5px; padding-bottom: 4px; @@ -36,6 +35,13 @@ pointer-events: none; } + .pdfViewer-text-selected { + .textLayer{ + will-change: transform; + pointer-events: all; + } + } + .pdfViewer-dragAnnotationBox { position:absolute; background-color: transparent; @@ -49,13 +55,15 @@ left: 0px; display: inline-block; width:100%; + pointer-events: none; } .pdfViewer-annotationLayer { position: absolute; + transform-origin: left top; top: 0; width: 100%; pointer-events: none; - mix-blend-mode: multiply; + mix-blend-mode: multiply; // bcz: makes text fuzzy! .pdfViewer-annotationBox { position: absolute; |
