aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/PDFBox.scss
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2020-09-09 17:34:35 -0400
committerbobzel <zzzman@gmail.com>2020-09-09 17:34:35 -0400
commite650f4dddb6a5f30b8eac0c6097cead28e04cd48 (patch)
treef015b71920a0ff6a0d5a7124b00acb4f8dc1001b /src/client/views/nodes/PDFBox.scss
parent54c02b71da4e7a698e0d5d7ecf66ab3fd082edf6 (diff)
parent19751f41b642ad68e8029e6ea618232543a02ad8 (diff)
Merge branch 'master' of https://github.com/browngraphicslab/Dash-Web
Diffstat (limited to 'src/client/views/nodes/PDFBox.scss')
-rw-r--r--src/client/views/nodes/PDFBox.scss20
1 files changed, 15 insertions, 5 deletions
diff --git a/src/client/views/nodes/PDFBox.scss b/src/client/views/nodes/PDFBox.scss
index f2ab37984..174bf8eff 100644
--- a/src/client/views/nodes/PDFBox.scss
+++ b/src/client/views/nodes/PDFBox.scss
@@ -175,7 +175,7 @@
}
.pdfBox-title-outer {
- width: 150%;
+ width: 100%;
height: 100%;
position: relative;
display: grid;
@@ -187,14 +187,13 @@
color: lightgray;
margin-top: auto;
margin-bottom: auto;
- transform-origin: 42% 15%;
+ transform-origin: 50% 50%;
width: 100%;
- transform: rotate(55deg);
- font-size: 200;
+ transform: rotate(40deg) scale(0.8);
+ font-size: 80;
padding: 5%;
overflow: hidden;
display: inline-block;
- white-space: pre;
text-overflow: ellipsis;
text-align: center;
}
@@ -202,6 +201,9 @@
}
.pdfBox {
+ width: 100%;
+ height: 100%;
+ pointer-events: none;
.pdfViewerDash-text {
.textLayer {
span {
@@ -211,7 +213,15 @@
}
}
+.pdfBox-background {
+ width: 100%;
+ height: 100%;
+ background: lightGray;
+}
+
.pdfBox-interactive {
+ width: 100%;
+ height: 100%;
pointer-events: all;
.pdfViewerDash-text {
.textLayer {