mirror of
https://github.com/overleaf/overleaf.git
synced 2025-03-02 23:33:37 +00:00
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:
parent
534cb1c5ab
commit
07caf75004
1 changed files with 1 additions and 1 deletions
|
@ -213,7 +213,7 @@
|
|||
}
|
||||
.pdfjs-viewer-inner {
|
||||
position: absolute;
|
||||
overflow: auto;
|
||||
overflow-y: scroll;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
-webkit-font-smoothing: initial;
|
||||
|
|
Loading…
Reference in a new issue