diff --git a/viewer/components/refresh.ts b/viewer/components/refresh.ts index 639e4d1c9..e43ffcb95 100644 --- a/viewer/components/refresh.ts +++ b/viewer/components/refresh.ts @@ -205,18 +205,6 @@ function addMasks() { div.appendChild(img) viewerContainer.appendChild(div) div.style.display = 'inherit' - - // This workaround is for the last page of the document. - const anchor = document.createElement('div') - anchor.className = 'page-loading-anchor' - masks.push(anchor) - anchor.style.display = 'inherit' - anchor.style.position = 'absolute' - anchor.style.left = pageBound.x - viewerBound.x + 'px' - anchor.style.top = pageBound.y - viewerBound.y + pageBound.height + 'px' - anchor.style.width = '10px' - anchor.style.height = '10px' - viewerContainer.appendChild(anchor) } return masks } diff --git a/viewer/latexworkshop.css b/viewer/latexworkshop.css index 651468bbc..45928bceb 100644 --- a/viewer/latexworkshop.css +++ b/viewer/latexworkshop.css @@ -99,6 +99,10 @@ html[dir='rtl'] .findbar { box-shadow: 0px 0px 0px 1px lightgrey; } +.pdfViewer.removePageBorders .page:last-of-type { + margin-bottom: 0px; +} + .pdfViewer.removePageBorders .spread .page:first-of-type { margin-inline-start: 0px; margin-inline-end: 5px;