diff options
| author | Lionel Han <47760119+IGoByJoe@users.noreply.github.com> | 2020-09-09 17:33:17 -0700 |
|---|---|---|
| committer | Lionel Han <47760119+IGoByJoe@users.noreply.github.com> | 2020-09-09 17:33:17 -0700 |
| commit | 92d6a7c800c2a76115b9621f0051f344ada8a6fa (patch) | |
| tree | 4383d128f020f8e44c577ea9d7be19528b61b946 /src/client/views/nodes/PDFBox.scss | |
| parent | 0ca5ee8de08dd79b7e346b46324edf3db5a8405c (diff) | |
| parent | e650f4dddb6a5f30b8eac0c6097cead28e04cd48 (diff) | |
Merge branch 'master' of https://github.com/browngraphicslab/Dash-Web into new_audio
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 { |
