mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-20 15:18:08 +02:00
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
1 changed files with 2 additions and 0 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue