From: Artur Adib Date: Thu, 12 Apr 2012 22:13:58 +0000 (-0700) Subject: fixing sidebarView scroll bar overflow X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=8363ca88adbeea085ade5ebd57e888ccde8e7249;p=pdf.js.git fixing sidebarView scroll bar overflow --- diff --git a/web/viewer.css b/web/viewer.css index 8168b33..a3ef906 100644 --- a/web/viewer.css +++ b/web/viewer.css @@ -31,7 +31,6 @@ body { background-color: hsla(0,0%,0%,.1); box-shadow: inset -1px 0 0 hsla(0,0%,0%,.25); overflow: auto; - padding-top: 33px; } #sidebarContainer.hidden { display:none; @@ -348,7 +347,8 @@ body { #thumbnailView { position: fixed; width: 120px; - height: 100%; + top: 33px; + bottom: 0; padding: 10px 40px 0; overflow: auto; } @@ -406,7 +406,8 @@ body { #outlineView { position: fixed; width: 188px; - height: 100%; + top: 33px; + bottom: 0; padding: 52px 4px 0; overflow: auto; } diff --git a/web/viewer.html b/web/viewer.html index 9f835b6..a20eb7d 100644 --- a/web/viewer.html +++ b/web/viewer.html @@ -41,7 +41,7 @@
-