From 28e40f373a0ab1de5c8417dac97222d11317e4f0 Mon Sep 17 00:00:00 2001 From: Kasper Birch Date: Wed, 18 Dec 2024 13:22:11 +0100 Subject: [PATCH] Try "min-height" --- src/stories/Library/Modals/modal.scss | 4 ++-- src/stories/Library/dialog/dialog.scss | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/stories/Library/Modals/modal.scss b/src/stories/Library/Modals/modal.scss index f427862b1..72ef40cb0 100644 --- a/src/stories/Library/Modals/modal.scss +++ b/src/stories/Library/Modals/modal.scss @@ -8,7 +8,7 @@ opacity: 0; display: none; transition: opacity 0.3s; - height: 100dvh; + min-height: 100dvh; overflow: auto; &__screen-reader-description { @@ -51,7 +51,7 @@ right: 0; max-width: 560px; width: 100%; - height: 100dvh; + min-height: 100dvh; margin: 0; } diff --git a/src/stories/Library/dialog/dialog.scss b/src/stories/Library/dialog/dialog.scss index 4ab3e87d5..1464838e2 100644 --- a/src/stories/Library/dialog/dialog.scss +++ b/src/stories/Library/dialog/dialog.scss @@ -23,7 +23,7 @@ // Apply custom background-color: $color__global-primary; position: fixed; - height: 100dvh; + min-height: 100dvh; width: 100%; left: auto;