From 0d3e659dc90453c71bba24da4bc43277608471d4 Mon Sep 17 00:00:00 2001 From: "Collin M. Barrett" Date: Tue, 6 Aug 2019 15:58:13 -0500 Subject: [PATCH] fix math for auto-pageSize --- .../src/modules/allListsTable/AllListsTable.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/FilterLists.Web.V2/src/modules/allListsTable/AllListsTable.tsx b/src/FilterLists.Web.V2/src/modules/allListsTable/AllListsTable.tsx index ad4980088..293f9330a 100644 --- a/src/FilterLists.Web.V2/src/modules/allListsTable/AllListsTable.tsx +++ b/src/FilterLists.Web.V2/src/modules/allListsTable/AllListsTable.tsx @@ -36,7 +36,7 @@ export class AllListsTable extends React.Component<{}, State> { } updatePageSize() { - const pageSize = Math.floor((window.innerHeight - 450) / 42); + const pageSize = Math.floor((window.innerHeight - 275.5) / 59); this.setState({ pageSize: pageSize, pageSizeOptions: [5, 10, 20, 500, 2000, pageSize].sort((a, b) => a - b).map(String)