Set overflow-y: scroll for pdf.js viewer container (#5539)

sets overflow-y: scroll for the inner pdf.js viewer container, so that there's always space reserved for the vertical scrollbar, which means there's never a flicker at the point where the PDF height starts to overflow the container height.

GitOrigin-RevId: 6ec4621e723869810eff531c971ee26c4ed86638
This commit is contained in:
Alf Eaton
2021-11-08 11:15:07 +00:00
committed by Copybot
parent ceaefcce07
commit 804941f4ef

View File

@@ -213,7 +213,7 @@
}
.pdfjs-viewer-inner {
position: absolute;
overflow: auto;
overflow-y: scroll;
width: 100%;
height: 100%;
-webkit-font-smoothing: initial;