diff options
| author | bobzel <zzzman@gmail.com> | 2020-09-09 17:32:40 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-09-09 17:32:40 -0400 |
| commit | 19751f41b642ad68e8029e6ea618232543a02ad8 (patch) | |
| tree | 5304aaa2b9ee65a0ff98f061d53bdac5b489679e /src/client/views/nodes/PDFBox.scss | |
| parent | b8300497de3d496015c719ad59df9b1d6d4b0e56 (diff) | |
| parent | 5421bce8982076e671c0ff43c38621b43731ffb0 (diff) | |
Merge pull request #697 from browngraphicslab/workingTemplates
Working templates
Diffstat (limited to 'src/client/views/nodes/PDFBox.scss')
| -rw-r--r-- | src/client/views/nodes/PDFBox.scss | 20 |
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 { |
