@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.
@@ -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: 100vh;
289
+ height: var(--swirl-modal-view-height);
277
290
  background-color: var(--s-surface-overlay-default);
278
291
  flex-direction: column;
279
292
  }