Link mobile layout

This commit is contained in:
N-Pex 2024-09-09 10:19:36 +02:00
parent 31faf22fd5
commit b621014178
4 changed files with 116 additions and 23 deletions

View file

@ -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>