aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/PDFBox.scss
diff options
context:
space:
mode:
authorMelissa Zhang <mzhang19096@gmail.com>2020-09-30 22:01:44 -0600
committerMelissa Zhang <mzhang19096@gmail.com>2020-09-30 22:01:44 -0600
commit09aab9558a26a2d7c8e3d485aca578960af72821 (patch)
treeb53bdc6f2fcb269b74a097f56bfeec248e7f918b /src/client/views/nodes/PDFBox.scss
parentbd827b97c719abeadf243ba4f8b2ba417badb65b (diff)
parent852ddf70b7ed3d027eb5cb8415df4df77b8652a6 (diff)
pull from master
Diffstat (limited to 'src/client/views/nodes/PDFBox.scss')
-rw-r--r--src/client/views/nodes/PDFBox.scss25
1 files changed, 19 insertions, 6 deletions
diff --git a/src/client/views/nodes/PDFBox.scss b/src/client/views/nodes/PDFBox.scss
index f2ab37984..e2bdd98cc 100644
--- a/src/client/views/nodes/PDFBox.scss
+++ b/src/client/views/nodes/PDFBox.scss
@@ -15,6 +15,8 @@
height: 100%;
z-index: 1;
pointer-events: none;
+ top: 0;
+ left: 0;
.pdfBox-pageNums {
display: flex;
@@ -175,7 +177,7 @@
}
.pdfBox-title-outer {
- width: 150%;
+ width: 100%;
height: 100%;
position: relative;
display: grid;
@@ -187,14 +189,13 @@
color: lightgray;
margin-top: auto;
margin-bottom: auto;
- transform-origin: 42% 15%;
- width: 100%;
- transform: rotate(55deg);
- font-size: 200;
+ transform-origin: 40% 40%;
+ width: 125%;
+ 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 +203,9 @@
}
.pdfBox {
+ width: 100%;
+ height: 100%;
+ pointer-events: none;
.pdfViewerDash-text {
.textLayer {
span {
@@ -211,8 +215,17 @@
}
}
+.pdfBox-background {
+ width: 100%;
+ height: 100%;
+ background: lightGray;
+}
+
.pdfBox-interactive {
+ width: 100%;
+ height: 100%;
pointer-events: all;
+ z-index: -1;
.pdfViewerDash-text {
.textLayer {
span {