Skip to content

Commit

Permalink
fix: Fix layout with safe-area
Browse files Browse the repository at this point in the history
  • Loading branch information
ContentsViewer committed Apr 29, 2024
1 parent 37b0835 commit bc1b4d5
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions app/files/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -304,14 +304,15 @@ export default function Page() {
<Box
sx={{
mt: 8,
pl: `env(safe-area-inset-left, 0)`,
pr: `env(safe-area-inset-right, 0)`,
ml: `env(safe-area-inset-left, 0)`,
mr: `env(safe-area-inset-right, 0)`,
}}
></Box>
<FileList
sx={{ maxWidth: "1040px", margin: "0 auto", width: "100%" }}
files={files}
/>
>
<FileList
sx={{ maxWidth: "1040px", margin: "0 auto", width: "100%" }}
files={files}
/>
</Box>
</Box>
)
}

0 comments on commit bc1b4d5

Please sign in to comment.