• Robert Knight's avatar
    Prevent sidebar controls overlapping scrollbar in PDFs · 32cea8cc
    Robert Knight authored
    When the sidebar is closed or there is not enough room to show the
    sidebar alongside the PDF content, reserve space for the sidebar's
    toolbar and bucket bar. This fixes an issue where the sidebar's controls
    would overlap the document's scrollbar, making scrolling the PDF less
    convenient, especially in long documents.
    
    This also removes the need for some CSS overrides that reposition
    elements in PDF.js's toolbar. By ensuring that the `<body>` does not
    overlap the sidebar controls, the PDF.js toolbar which is contained
    within the body doesn't either.
    
    Fixes #3759
    32cea8cc
Name
Last commit
Last update
..
annotator.js Loading commit data...
api.js Loading commit data...
config.js Loading commit data...
pdfjs.js Loading commit data...
sidebar.js Loading commit data...