From b41b1534ef339344ffe9bbd4a0f8d6f09a4a0b7e Mon Sep 17 00:00:00 2001 From: Sidney Alcantara Date: Thu, 9 Sep 2021 18:38:52 +1000 Subject: [PATCH] table: add bottom padding for consistency --- src/components/Table/styles.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/Table/styles.ts b/src/components/Table/styles.ts index 23e4feb1..b27a3934 100644 --- a/src/components/Table/styles.ts +++ b/src/components/Table/styles.ts @@ -17,7 +17,7 @@ export const useStyles = makeStyles((theme) => "& > .rdg": { width: `calc(100% - ${DRAWER_COLLAPSED_WIDTH}px)`, flex: 1, - paddingBottom: "env(safe-area-inset-bottom)", + paddingBottom: `max(env(safe-area-inset-bottom), ${theme.spacing(2)})`, }, [theme.breakpoints.down("sm")]: { width: "100%" },