mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-19 14:48:08 +02:00
Add a couple of CSS hacks in order for scrollIntoView
to work in the "simpleviewer" component example
This is intended as a temporary solution, in order to get the "simpleviewer" example to work, until we've re-factored `scrollIntoView` to work in both the standard and components-based viewers.
This commit is contained in:
parent
297f760dce
commit
1f9466ea02
1 changed files with 6 additions and 0 deletions
|
@ -27,6 +27,12 @@ limitations under the License.
|
|||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
#viewerContainer {
|
||||
overflow: auto;
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
</style>
|
||||
|
||||
<link rel="stylesheet" href="../../build/components/pdf_viewer.css">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue