Skip to content

Commit

Permalink
iOS Safari用
Browse files Browse the repository at this point in the history
  • Loading branch information
takecchi committed Dec 14, 2023
1 parent 7294462 commit 27ff0fa
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,9 @@ const Dialog = styled(MuiDialog)`
.MuiDialog-paper {
margin: 0;
max-width: 100vw;
max-height: 100vh;
max-height: calc(
100vh - env(safe-area-inset-bottom, 0) - env(safe-area-inset-top, 0)
);
${({ theme }) => theme.breakpoints.down('tablet')} {
border-radius: 0;
Expand Down

0 comments on commit 27ff0fa

Please sign in to comment.