diff --git a/client/src/Components/design-elements/Fallback.tsx b/client/src/Components/design-elements/Fallback.tsx index 93cdac410..003bda647 100644 --- a/client/src/Components/design-elements/Fallback.tsx +++ b/client/src/Components/design-elements/Fallback.tsx @@ -2,6 +2,7 @@ import Stack from "@mui/material/Stack"; import Typography from "@mui/material/Typography"; import { BulletPointCheck, SkeletonCard } from "@/Components/design-elements"; import { Button } from "@/Components/inputs"; +import { SPACING, LAYOUT } from "@/Utils/Theme/constants"; import { useNavigate } from "react-router"; import useMediaQuery from "@mui/material/useMediaQuery"; @@ -27,7 +28,7 @@ export const BaseFallback = ({ children, ...props }: BaseFallbackProps) => { lg: "50%", xl: "40%", }} - padding={{ xs: theme.spacing(8), md: theme.spacing(16) }} + padding={{ xs: theme.spacing(LAYOUT.MD), md: theme.spacing(LAYOUT.XXL) }} bgcolor={theme.palette.background.paper} border={1} borderColor={theme.palette.divider} @@ -55,7 +56,7 @@ export const ErrorFallback = ({ {title} @@ -81,7 +82,7 @@ export const EmptyFallback = ({ return ( @@ -89,7 +90,7 @@ export const EmptyFallback = ({ @@ -147,7 +148,7 @@ export const EmptyMonitorFallback = ({