[Pkg-javascript-commits] [pdf.js] 134/157: Add a couple of CSS hacks in order for `scrollIntoView` to work in the "simpleviewer" component example

David Prévot taffit at moszumanska.debian.org
Tue Aug 11 06:46:50 UTC 2015


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository pdf.js.

commit 1f9466ea02267bb7e0ea1196e4f7bee7990eb8fd
Author: Jonas Jenwald <jonas.jenwald at gmail.com>
Date:   Sat Jun 27 14:11:54 2015 +0200

    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.
---
 examples/components/simpleviewer.html | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/examples/components/simpleviewer.html b/examples/components/simpleviewer.html
index 966beb7..65b01db 100644
--- a/examples/components/simpleviewer.html
+++ b/examples/components/simpleviewer.html
@@ -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">

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/pdf.js.git



More information about the Pkg-javascript-commits mailing list