We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7c17062 commit bcdc733Copy full SHA for bcdc733
src/Lumi/Components/Modal.purs
@@ -456,8 +456,9 @@ styles = jss
456
457
-- non-dialog modals fill the screen on mobile devices
458
, "&:not([data-variant=\"dialog\"])":
459
- { "& lumi-modal":
460
- { "@media (max-width: 860px)":
+ { "@media (max-width: 860px)":
+ { maxHeight: "100%"
461
+ , "& lumi-modal":
462
{ position: "fixed"
463
, top: "0"
464
, right: "0"
@@ -470,6 +471,10 @@ styles = jss
470
471
, "&[data-size=\"small\"], &[data-size=\"medium\"], &[data-size=\"large\"]":
472
{ width: "100vw"
473
}
474
+ , "& lumi-modal-content":
475
+ { flex: "1 1 auto"
476
+ , overflowY: "auto"
477
+ }
478
479
480
0 commit comments