fix(web): 🐛💄 give footer a bit more space on narrow viewports to prevent overlap

ref #1798
This commit is contained in:
Collin M. Barrett 2020-09-20 15:44:59 -05:00
parent 400320661f
commit a0bfd9932d

View file

@ -19,7 +19,7 @@ export const useTablePageSizer = () => {
const calculateSize = () => ({
pageSize:
window.innerWidth < 576
? Math.floor((window.innerHeight - 215) / 43)
? Math.floor((window.innerHeight - 220) / 43)
: Math.floor((window.innerHeight - 150) / 57),
isNarrowWindow: window.innerWidth < 576 ? true : false,
isWideWindow: window.innerWidth > 1918 ? true : false,