diff --git a/src/Components/StatBox/index.jsx b/src/Components/StatBox/index.jsx index 54a4af5ca..ed0b6694a 100644 --- a/src/Components/StatBox/index.jsx +++ b/src/Components/StatBox/index.jsx @@ -62,7 +62,7 @@ const StatBox = ({ color: theme.palette.primary.contrastTextSecondary, }; - const spanFixedStyles = { marginLeft: theme.spacing(2), fontSize: 15, fontWeight: 600}; + const spanFixedStyles = { marginLeft: theme.spacing(2), fontSize: 15, fontWeight: 600 }; const detailTextStyles = gradient ? { color: theme.palette[themeColor].contrastText, @@ -79,6 +79,11 @@ const StatBox = ({ }, }; + const responsiveWidths = { + default: `calc(25% - (3 * ${theme.spacing(8)} / 4))`, + md: `calc(50% - (1 * ${theme.spacing(8)} / 2))`, + }; + return ( {heading} - {subHeading} + {subHeading} ); diff --git a/src/Components/StatusBoxes/index.jsx b/src/Components/StatusBoxes/index.jsx index a2c627d19..fedc74011 100644 --- a/src/Components/StatusBoxes/index.jsx +++ b/src/Components/StatusBoxes/index.jsx @@ -20,6 +20,8 @@ const StatusBoxes = ({ shouldRender, flexWrap = "nowrap", children }) => { direction="row" flexWrap={flexWrap} gap={theme.spacing(8)} + justifyContent="space-between" + display="flex" > {children}