Skip to content
Snippets Groups Projects
Commit 4f6df5fb authored by James Yu's avatar James Yu
Browse files

PDF viewer trimming failed due to PDF.js CSS canvas style changes

parent 1398802c
No related branches found
No related tags found
No related merge requests found
......@@ -99,6 +99,11 @@ html[dir='rtl'] .findbar {
box-shadow: 0px 0px 0px 1px lightgrey;
}
:is(.pdfViewer .canvasWrapper) canvas{
position: relative !important;
contain: none !important;
}
.pdfViewer.removePageBorders > .page:last-of-type,
.pdfViewer.removePageBorders .spread:last-of-type .page {
margin-bottom: 0px;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment