-
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