Skip to content

Commit

Permalink
style: modal height on iOS (junobuild#1252)
Browse files Browse the repository at this point in the history
  • Loading branch information
peterpeterparker authored Feb 13, 2025
1 parent 38460c0 commit 28f811d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/frontend/src/lib/components/ui/Modal.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,12 @@
max-height: -webkit-fill-available;
}
}
@supports (-webkit-touch-callout: none) and (height: 100dvh) {
& {
height: calc(100dvh - 2.75rem);
}
}
}
.flex {
Expand Down

0 comments on commit 28f811d

Please sign in to comment.