From e1db975f7aecbd131e3c41f1c4aec58e2ebf9ed5 Mon Sep 17 00:00:00 2001 From: "Collin M. Barrett" Date: Sat, 11 Aug 2018 10:05:30 -0500 Subject: [PATCH] use same math on mobile for page size closes #329 --- src/FilterLists.Web/ClientApp/components/Home.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/FilterLists.Web/ClientApp/components/Home.tsx b/src/FilterLists.Web/ClientApp/components/Home.tsx index b328dba80..e242553b2 100644 --- a/src/FilterLists.Web/ClientApp/components/Home.tsx +++ b/src/FilterLists.Web/ClientApp/components/Home.tsx @@ -68,7 +68,7 @@ export class Home extends React.Component, IHomeState> { updatePageSize() { this.setState({ - pageSize: Math.floor((window.innerHeight - (window.innerWidth > 540 ? 361 : 320)) / 52) + pageSize: Math.floor((window.innerHeight - 361) / 52) }); }