From ffe3dbfc8fcc3afcea4e2286f754c7aecdb0870d Mon Sep 17 00:00:00 2001 From: Artur Adib Date: Wed, 25 Apr 2012 14:10:53 -0400 Subject: [PATCH] minor fixes --- web/viewer.css | 6 ++++++ web/viewer.html | 4 ++-- web/viewer.js | 2 +- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/web/viewer.css b/web/viewer.css index 351c76a64..27ffd2d79 100644 --- a/web/viewer.css +++ b/web/viewer.css @@ -372,6 +372,12 @@ body { width: 50px; } +.toolbarField.pageNumber::-webkit-inner-spin-button, +.toolbarField.pageNumber::-webkit-outer-spin-button { + -webkit-appearance: none; + margin: 0; +} + .toolbarField:hover { background-color: hsla(0,0%,100%,.11); border-color: hsla(0,0%,0%,.4) hsla(0,0%,0%,.43) hsla(0,0%,0%,.45); diff --git a/web/viewer.html b/web/viewer.html index fa57faa74..8171767f3 100644 --- a/web/viewer.html +++ b/web/viewer.html @@ -58,8 +58,8 @@
Page:
- -
+ +
diff --git a/web/viewer.js b/web/viewer.js index 89f9cafb7..99287a395 100644 --- a/web/viewer.js +++ b/web/viewer.js @@ -492,7 +492,7 @@ var PDFView = { var pagesCount = pdfDocument.numPages; var id = pdfDocument.fingerprint; var storedHash = null; - document.getElementById('numPages').textContent = ' of ' + pagesCount; + document.getElementById('numPages').textContent = 'of ' + pagesCount; document.getElementById('pageNumber').max = pagesCount; PDFView.documentFingerprint = id; var store = PDFView.store = new Settings(id);