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:
parent
1ba1b8c711
commit
fc8494b2c2
@ -83,6 +83,7 @@
|
|||||||
border: none;
|
border: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*#if COMPONENTS*/
|
||||||
.pdfViewer.singlePageView {
|
.pdfViewer.singlePageView {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
}
|
}
|
||||||
@ -91,6 +92,7 @@
|
|||||||
margin: 0;
|
margin: 0;
|
||||||
border: none;
|
border: none;
|
||||||
}
|
}
|
||||||
|
/*#endif*/
|
||||||
|
|
||||||
.pdfViewer.scrollHorizontal,
|
.pdfViewer.scrollHorizontal,
|
||||||
.pdfViewer.scrollWrapped,
|
.pdfViewer.scrollWrapped,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user