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 (
|
||||
<PageContainer spacing={1}>
|
||||
<PageContainer >
|
||||
{showPlenumError()}
|
||||
<Box
|
||||
paddingBottom={isMobile || displayMobile ? 1 : 2}
|
||||
|
|
|
|||
|
|
@ -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(
|
||||
|
|
|
|||
|
|
@ -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()}
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue