From 2863cfc862151297d4f92836ab9b5364e3515324 Mon Sep 17 00:00:00 2001 From: "Collin M. Barrett" Date: Sat, 11 Aug 2018 09:16:55 -0500 Subject: [PATCH] update math for dynamic page size ref #329 --- src/FilterLists.Web/ClientApp/components/Home.tsx | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/FilterLists.Web/ClientApp/components/Home.tsx b/src/FilterLists.Web/ClientApp/components/Home.tsx index 8392ff991..f4278730d 100644 --- a/src/FilterLists.Web/ClientApp/components/Home.tsx +++ b/src/FilterLists.Web/ClientApp/components/Home.tsx @@ -67,7 +67,7 @@ export class Home extends React.Component, IHomeState> { } updatePageSize() { - this.setState({ pageSize: (window.innerHeight - 200) / 50 }); + this.setState({ pageSize: (window.innerHeight - (361)) / 52 }); } private static renderTagline(state: IHomeState) { @@ -180,11 +180,9 @@ interface IListLanguageDto { } function SubscribeUrl(props: any) { - return + title={"Subscribe to list with browser extension supporting \"abp:\" protcool (e.g. uBlock Origin, AdBlock Plus)."}> Subscribe ; } \ No newline at end of file