mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-05-20 14:59:26 +00:00
chore: update Layout
This commit is contained in:
parent
e0464a7b26
commit
6ba9dc891e
2 changed files with 2 additions and 1 deletions
|
|
@ -5,9 +5,10 @@ interface Props {
|
||||||
children?: React.ReactNode;
|
children?: React.ReactNode;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// TODO: if mobile, getMobileLayout, else getDesktopLayout
|
||||||
export const Layout: FC<Props> = ({ children }) => {
|
export const Layout: FC<Props> = ({ children }) => {
|
||||||
return (
|
return (
|
||||||
<Container maxW='container.lg' my={7}>
|
<Container maxW={{ sm: 'container.sm' }} my={7}>
|
||||||
{children}
|
{children}
|
||||||
</Container>
|
</Container>
|
||||||
);
|
);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue