minor fixes
This commit is contained in:
parent
31a757e301
commit
ffe3dbfc8f
@ -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);
|
||||
|
@ -58,8 +58,8 @@
|
||||
</div>
|
||||
<div class="toolbarLabel">Page: </div>
|
||||
<input type="number" id="pageNumber" class="toolbarField pageNumber" onchange="PDFView.page = this.value;" value="1" size="4" min="1">
|
||||
</input>
|
||||
<div id="numPages" class="toolbarLabel"></div>
|
||||
</input>
|
||||
<div id="numPages" class="toolbarLabel" style="margin-left:5px;"></div>
|
||||
<div class="toolbarButtonFlexibleSpacer"></div>
|
||||
<div class="splitToolbarButton">
|
||||
<div class="toolbarButton zoomOut" title="Zoom Out" onclick="PDFView.zoomOut();"></div>
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user