website refactor
This commit is contained in:
@@ -14,18 +14,14 @@ export const ContentShell = ({
|
||||
}: ContentShellProps) => {
|
||||
return (
|
||||
<Box display="flex" flexDirection="col" fullHeight>
|
||||
{header && (
|
||||
<Box borderBottom>
|
||||
{header}
|
||||
</Box>
|
||||
)}
|
||||
{header && <Box borderBottom>{header}</Box>}
|
||||
<Box display="flex" flex={1} minHeight="0">
|
||||
{sidebar && (
|
||||
<Box width="18rem" borderRight display={{ base: 'none', lg: 'block' }}>
|
||||
{sidebar}
|
||||
</Box>
|
||||
)}
|
||||
<Box flex={1} overflow="auto">
|
||||
<Box flex={1} minWidth="0">
|
||||
{children}
|
||||
</Box>
|
||||
</Box>
|
||||
|
||||
Reference in New Issue
Block a user