Skip to content

Commit

Permalink
change screen hights
Browse files Browse the repository at this point in the history
  • Loading branch information
vwh committed Aug 4, 2024
1 parent 23fff45 commit 3968e5e
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions src/hooks/usePagination.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,16 @@ export function usePagination(rowPerPageOrAuto: "auto" | number) {
if (rowPerPageOrAuto === "auto") {
const screenHeight = window.innerHeight;
const thresholds = [
{ height: 1700, rowHeight: 70 },
{ height: 1300, rowHeight: 75 },
{ height: 1200, rowHeight: 75 },
{ height: 1100, rowHeight: 80 },
{ height: 1000, rowHeight: 85 },
{ height: 900, rowHeight: 95 },
{ height: 850, rowHeight: 100 },
{ height: 799, rowHeight: 110 },
{ height: 750, rowHeight: 120 },
{ height: 700, rowHeight: 130 },
{ height: 1700, rowHeight: 65 },
{ height: 1200, rowHeight: 70 },
{ height: 1100, rowHeight: 75 },
{ height: 1000, rowHeight: 80 },
{ height: 910, rowHeight: 90 },
{ height: 850, rowHeight: 95 },
{ height: 799, rowHeight: 100 },
{ height: 750, rowHeight: 110 },
{ height: 730, rowHeight: 120 },
{ height: 700, rowHeight: 135 },
{ height: 599, rowHeight: 140 },
{ height: 500, rowHeight: 200 },
{ height: 0, rowHeight: 280 }
Expand Down

0 comments on commit 3968e5e

Please sign in to comment.