From b26fde454dcebdd458fc0f5f21f08f30a04b50fe Mon Sep 17 00:00:00 2001
From: Adam Moussa <166072409+amoussa1229@users.noreply.github.com>
Date: Fri, 17 Apr 2026 12:26:11 -0400
Subject: [PATCH] Redesign pagination bar with button group page size selector
- Records per page as a button group (12/24/48/96) with active highlight
- First/prev/next/last navigation buttons
- Current page number as blue badge
- Showing X-Y of Z range display
- Resets to page 1 when changing page size
---
src/components/SharedTable.js | 54 ++++++++++--------
src/site.css | 101 ++++++++++++++++++++++++++++------
2 files changed, 113 insertions(+), 42 deletions(-)
diff --git a/src/components/SharedTable.js b/src/components/SharedTable.js
index 381e44fb..19954411 100644
--- a/src/components/SharedTable.js
+++ b/src/components/SharedTable.js
@@ -119,33 +119,39 @@ const SharedTable = ({
-
-
-
+
+
+ Show
+
+ {[12, 24, 48, 96].map((size) => (
+
+ ))}
+
+ per page
-
-
- Showing {Math.min(page * pageSize, totalCount)} of {totalCount}
+