Skip to content

Commit ec0b3ce

Browse files
committed
possible fix for full height on mobile Safari
1 parent e03690d commit ec0b3ce

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/Lumi/Components/Modal.purs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -433,7 +433,10 @@ styles = jss
433433
, "&:not([data-variant=\"dialog\"])":
434434
{ "& lumi-modal":
435435
{ "@media (max-width: 860px)":
436-
{ minHeight: "100vh"
436+
{ position: "fixed"
437+
, top: "0"
438+
, left: "0"
439+
, minHeight: "100%"
437440
, width: "100vw"
438441
, maxWidth: "100vw"
439442
, "&[data-size=\"small\"], &[data-size=\"medium\"], &[data-size=\"large\"]":

0 commit comments

Comments
 (0)