changed default spacing value back to 0, fixed some pageContainers using padding instead of spacing

This commit is contained in:
Carter 2025-06-27 11:33:43 -06:00
parent 674763de24
commit e654aa002b
4 changed files with 4 additions and 4 deletions

View file

@ -1107,7 +1107,7 @@ export default function Bin(props: Props) {
}; };
return ( return (
<PageContainer spacing={1}> <PageContainer >
{showPlenumError()} {showPlenumError()}
<Box <Box
paddingBottom={isMobile || displayMobile ? 1 : 2} paddingBottom={isMobile || displayMobile ? 1 : 2}

View file

@ -48,7 +48,7 @@ export const PageContainer: React.FunctionComponent<Props> = (props: Props) => {
const { children, fullViewport, isCenterCenter, sx } = props; const { children, fullViewport, isCenterCenter, sx } = props;
// let fullViewport = false // let fullViewport = false
// let isCenterCenter = false // let isCenterCenter = false
const spacing = props.spacing ? props.spacing : 2; const spacing = props.spacing ?? 0;
return ( return (
<Container <Container
className={classNames( className={classNames(

View file

@ -214,7 +214,7 @@ export default function TeamPage() {
} }
return ( return (
<PageContainer padding={isMobile ? 0 : 2}> <PageContainer spacing={isMobile ? 0 : 2}>
<Box className={classes.container}> <Box className={classes.container}>
<Box className={classes.leftBox}> <Box className={classes.leftBox}>
{title()} {title()}

View file

@ -5,7 +5,7 @@ import TeamList from "teams/TeamList";
export default function Teams() { export default function Teams() {
const isMobile = useMobile() const isMobile = useMobile()
return ( return (
<PageContainer padding={isMobile ? 0 : 2}> <PageContainer spacing={isMobile ? 0 : 2}>
<TeamList /> <TeamList />
</PageContainer> </PageContainer>
); );