Skip to content

Commit

Permalink
chore(modal): add back fallback values
Browse files Browse the repository at this point in the history
  • Loading branch information
DavideIadeluca committed Jan 6, 2024
1 parent 7b883c2 commit 8a7e41c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions framework/core/less/common/Modal.less
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,7 @@
margin: 0;
-webkit-transform: none !important;
transform: none !important;
top: 100vh; // Fallback for browsers that don't support dynamic viewport units
top: 100dvh;

&.fade {
Expand All @@ -162,6 +163,7 @@
.Modal-content {
border-radius: 0;
border: 0;
min-height: 100vh; // Fallback for browsers that don't support dynamic viewport units
min-height: 100dvh;
padding-top: var(--header-height-phone);
box-shadow: none;
Expand Down

0 comments on commit 8a7e41c

Please sign in to comment.