Skip to content

Commit

Permalink
Apply "min-height" to .dialog--sidebar
Browse files Browse the repository at this point in the history
Ensures the `dvh` value correctly adjusts the modal when scrolling on mobile browsers with disappearing address bars
  • Loading branch information
kasperbirch1 committed Dec 18, 2024
1 parent 24aa472 commit 92a7cd6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/stories/Library/dialog/dialog.scss
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
// Apply custom
background-color: $color__global-primary;
position: fixed;
height: 100dvh;
min-height: 100dvh;
width: 100%;
left: auto;

Expand Down

0 comments on commit 92a7cd6

Please sign in to comment.