changed default spacing value back to 0, fixed some pageContainers using padding instead of spacing
This commit is contained in:
parent
674763de24
commit
e654aa002b
4 changed files with 4 additions and 4 deletions
|
|
@ -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}
|
||||||
|
|
|
||||||
|
|
@ -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(
|
||||||
|
|
|
||||||
|
|
@ -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()}
|
||||||
|
|
|
||||||
|
|
@ -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>
|
||||||
);
|
);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue