round page size down always

ref #329
This commit is contained in:
Collin M. Barrett 2018-08-11 09:35:53 -05:00
parent 5acb16d682
commit 6d6eaaf89d

View file

@ -68,7 +68,7 @@ export class Home extends React.Component<RouteComponentProps<{}>, IHomeState> {
updatePageSize() {
this.setState({
pageSize: window.innerHeight - (window.innerWidth > 540 ? 361 : 320) / 52
pageSize: Math.floor(window.innerHeight - (window.innerWidth > 540 ? 361 : 320) / 52)
});
}