aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/PDFBox.scss
diff options
context:
space:
mode:
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 {