aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/PDFBox.scss
diff options
context:
space:
mode:
authorBob Zeleznik <zzzman@gmail.com>2019-06-16 21:39:48 -0400
committerBob Zeleznik <zzzman@gmail.com>2019-06-16 21:39:48 -0400
commitee1e6f815b76f9c0e076c8fecc89dd4fa1f5cf4b (patch)
tree882e84f643b49dbf677d5ff5aff5c4d1ee4048e5 /src/client/views/nodes/PDFBox.scss
parente1f88e962cce91d9bcd6900163756934bc5a09a8 (diff)
fixed access out-of-bounds error.. fixed event handling for unselected pdf.
Diffstat (limited to 'src/client/views/nodes/PDFBox.scss')
-rw-r--r--src/client/views/nodes/PDFBox.scss21
1 files changed, 13 insertions, 8 deletions
diff --git a/src/client/views/nodes/PDFBox.scss b/src/client/views/nodes/PDFBox.scss
index bb1f534c6..8bcae4f1e 100644
--- a/src/client/views/nodes/PDFBox.scss
+++ b/src/client/views/nodes/PDFBox.scss
@@ -36,15 +36,14 @@
pointer-events: none;
display: flex;
flex-direction: row;
-
- span {
- pointer-events: none !important;
+ .textlayer {
+ pointer-events: none;
+ span {
+ pointer-events: none !important;
+ }
}
-}
-.textlayer {
- span {
- pointer-events: all !important;
- user-select: text;
+ .page-cont {
+ pointer-events: none;
}
}
@@ -52,6 +51,12 @@
pointer-events: all;
display: flex;
flex-direction: row;
+ .textlayer {
+ span {
+ pointer-events: all !important;
+ user-select: text;
+ }
+ }
}
.pdfBox-contentContainer {