From 37c8ea4fd7f2572126dc5a322553568e50fc2929 Mon Sep 17 00:00:00 2001 From: Gazook89 Date: Mon, 19 Aug 2024 23:01:55 -0500 Subject: [PATCH] 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). --- client/homebrew/brewRenderer/toolBar/toolBar.jsx | 2 ++ client/homebrew/brewRenderer/toolBar/toolBar.less | 6 ++++++ 2 files changed, 8 insertions(+) diff --git a/client/homebrew/brewRenderer/toolBar/toolBar.jsx b/client/homebrew/brewRenderer/toolBar/toolBar.jsx index 3927ee432..0111e04db 100644 --- a/client/homebrew/brewRenderer/toolBar/toolBar.jsx +++ b/client/homebrew/brewRenderer/toolBar/toolBar.jsx @@ -87,6 +87,8 @@ const ToolBar = ({ onZoomChange, currentPage, onPageChange, totalPages })=>{ onBlur={()=>onPageChange(pageInput)} /> + / {totalPages} +