0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2025-12-25 14:02:40 +00:00

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
2024-08-19 23:01:55 -05:00
parent 9adc3e2e1a
commit 37c8ea4fd7
2 changed files with 8 additions and 0 deletions

View File

@@ -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'

View File

@@ -52,6 +52,12 @@
transform : translate(-50%, 50%);
}
}
&#pageInput {
width: 4ch;
text-align: center;
}
}
.tool {