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 (
<PageContainer spacing={1}>
<PageContainer >
{showPlenumError()}
<Box
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;
// let fullViewport = false
// let isCenterCenter = false
const spacing = props.spacing ? props.spacing : 2;
const spacing = props.spacing ?? 0;
return (
<Container
className={classNames(

View file

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

View file

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