website refactor
This commit is contained in:
@@ -9,8 +9,8 @@ export interface MainContentProps {
|
||||
|
||||
export const MainContent = ({ children, maxWidth = 'xl' }: MainContentProps) => {
|
||||
return (
|
||||
<Box as="main" flex={1} style={{ overflowY: 'auto' }} padding={6}>
|
||||
<Container size={maxWidth === '7xl' ? 'xl' : maxWidth as any}>
|
||||
<Box as="main" flex={1} padding={6}>
|
||||
<Container size={maxWidth === '7xl' ? 'xl' : (maxWidth as any)}>
|
||||
<Box display="flex" flexDirection="col" gap={6} fullWidth>
|
||||
{children}
|
||||
</Box>
|
||||
|
||||
Reference in New Issue
Block a user