aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/pdf/PDFViewer.scss
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/views/pdf/PDFViewer.scss')
-rw-r--r--src/client/views/pdf/PDFViewer.scss7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/client/views/pdf/PDFViewer.scss b/src/client/views/pdf/PDFViewer.scss
index a2f3911c5..fdfbde457 100644
--- a/src/client/views/pdf/PDFViewer.scss
+++ b/src/client/views/pdf/PDFViewer.scss
@@ -2,6 +2,9 @@
.pdfViewer-viewer {
pointer-events:inherit;
width: 100%;
+ height:100%;
+ position: absolute;
+ overflow: scroll;
.pdfViewer-visibleElements {
.pdfPage-cont {
.pdfPage-textLayer {
@@ -19,8 +22,10 @@
}
}
}
+ .page {
+ position: relative;
+ }
.pdfViewer-text {
- transform: scale(1.5);
transform-origin: top left;
}