Add total page count and some styling

Displaying the total page count near the current page number means we can lose the bottom right toolbar entirely (the renderer could be added to top toolbar, or just left for the metadata info in title bar).
This commit is contained in:
Gazook89 committed 2024-08-19 23:01:55 -05:00
1 parent 9adc3e2e1a
commit 37c8ea4fd7
2 files changed
+8

No files matched your search

@@ -87,6 +87,8 @@ const ToolBar = ({ onZoomChange, currentPage, onPageChange, totalPages })=>{
onBlur={()=>onPageChange(pageInput)}
/>
<span id='page-count'>/ {totalPages}</span>
<div className='tool'>
<button
className='nextPage'
@@ -52,6 +52,12 @@
transform : translate(-50%, 50%);
}
}
&#pageInput {
width: 4ch;
text-align: center;
}
}
.tool {