张文飞 před 3 roky
rodič
revize
65641ca8de

+ 4 - 3
hybrid/html/web/viewer.css

@@ -287,10 +287,11 @@
   direction: ltr;
   width: 816px;
   height: 1056px;
-  margin: 1px auto -8px auto;
+  margin: 0px auto -8px auto;
   position: relative;
   overflow: visible;
-  border: 9px solid transparent;
+  border: 0px solid transparent;
+  margin-bottom: 2px;
   background-clip: content-box;
   -webkit-border-image: url(images/shadow.png) 9 9 repeat;
        -o-border-image: url(images/shadow.png) 9 9 repeat;
@@ -636,7 +637,7 @@ html[dir='rtl'] #sidebarContent {
   overflow: auto;
   -webkit-overflow-scrolling: touch;
   position: absolute;
-  top: 32px;
+  top: 0px;
   right: 0;
   bottom: 0;
   left: 0;

+ 1 - 1
hybrid/html/web/viewer.html

@@ -182,7 +182,7 @@ See https://github.com/adobe-type-tools/cmap-resources
           </div>
         </div>  <!-- secondaryToolbar -->
 
-        <div class="toolbar">
+        <div class="toolbar" style='display: none;'>
           <div id="toolbarContainer">
             <div id="toolbarViewer">
               <div id="toolbarViewerLeft">

+ 1 - 1
hybrid/html/web/viewer.js

@@ -10245,7 +10245,7 @@ class PDFPageView {
   }
 
   get width() {
-    return this.viewport.width;
+    return 716;
   }
 
   get height() {