Link mobile layout
This commit is contained in:
parent
31faf22fd5
commit
b621014178
4 changed files with 116 additions and 23 deletions
|
|
@ -12,11 +12,11 @@ type LayoutProps = {
|
|||
|
||||
export default function Layout({ detail, edit, params: { id } }: LayoutProps) {
|
||||
return (
|
||||
<Grid container spacing={0} sx={{ height: "100vh" }} direction="row">
|
||||
<Grid item sx={{ height: "100vh" }} xs={9}>
|
||||
<Grid container spacing={0} sx={{ height: "100%" }} direction="row">
|
||||
<Grid item sx={{ height: "100%" }} xs={9}>
|
||||
{detail}
|
||||
</Grid>
|
||||
<Grid item xs={3} sx={{ height: "100vh" }}>
|
||||
<Grid item xs={3} sx={{ height: "100%" }}>
|
||||
{edit}
|
||||
</Grid>
|
||||
</Grid>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue