@getflip/swirl-components 0.169.0 → 0.169.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components.json +1 -1
- package/dist/cjs/swirl-modal.cjs.entry.js +1 -1
- package/dist/collection/assets/pdfjs/pdf.worker.min.js +1 -1
- package/dist/collection/components/swirl-modal/swirl-modal.css +14 -1
- package/dist/components/assets/pdfjs/pdf.worker.min.js +1 -1
- package/dist/components/swirl-modal.js +1 -1
- package/dist/esm/swirl-modal.entry.js +1 -1
- package/dist/swirl-components/p-208ad130.entry.js +1 -0
- package/dist/swirl-components/swirl-components.esm.js +1 -1
- package/package.json +1 -1
- package/dist/swirl-components/p-2a21b2ec.entry.js +0 -1
|
@@ -21,12 +21,25 @@
|
|
|
21
21
|
);
|
|
22
22
|
--swirl-modal-height: auto;
|
|
23
23
|
--swirl-modal-max-height: 90vh;
|
|
24
|
+
--swirl-modal-view-height: 100vh;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
@supports (height: 100dvh) {
|
|
28
|
+
|
|
29
|
+
.modal {
|
|
30
|
+
--swirl-modal-max-height: 90dvh;
|
|
31
|
+
--swirl-modal-view-height: 100dvh
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.modal {
|
|
24
36
|
|
|
25
37
|
position: fixed;
|
|
26
38
|
z-index: var(--s-z-40);
|
|
27
39
|
display: flex;
|
|
28
40
|
justify-content: center;
|
|
29
41
|
align-items: center;
|
|
42
|
+
height: var(--swirl-modal-view-height);
|
|
30
43
|
inset: 0;
|
|
31
44
|
}
|
|
32
45
|
|
|
@@ -273,7 +286,7 @@
|
|
|
273
286
|
overflow: hidden;
|
|
274
287
|
width: 100vw;
|
|
275
288
|
max-width: 40rem;
|
|
276
|
-
height:
|
|
289
|
+
height: var(--swirl-modal-view-height);
|
|
277
290
|
background-color: var(--s-surface-overlay-default);
|
|
278
291
|
flex-direction: column;
|
|
279
292
|
}
|