Limit the singlePageView CSS rules to only the COMPONENTS build

These CSS rules exist solely for the `pageviewer` viewer-component example, see https://github.com/mozilla/pdf.js/tree/master/examples/components, and consequently it doesn't make sense in other builds.
This commit is contained in:
Jonas Jenwald 2023-02-02 17:59:07 +01:00
parent 1ba1b8c711
commit fc8494b2c2

View File

@ -83,6 +83,7 @@
border: none;
}
/*#if COMPONENTS*/
.pdfViewer.singlePageView {
display: inline-block;
}
@ -91,6 +92,7 @@
margin: 0;
border: none;
}
/*#endif*/
.pdfViewer.scrollHorizontal,
.pdfViewer.scrollWrapped,