From 150df6e2037daeb97b1e77740fffb6e03d7f2f8b Mon Sep 17 00:00:00 2001 From: Damien Pellier Date: Thu, 21 Nov 2024 14:32:07 +0100 Subject: [PATCH] fix(modal): prevent wrong dialog height on safari --- packages/ods/src/components/modal/src/index.html | 2 +- packages/ods/src/style/_modal.scss | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/packages/ods/src/components/modal/src/index.html b/packages/ods/src/components/modal/src/index.html index a782d1fd4..a16d61e6e 100644 --- a/packages/ods/src/components/modal/src/index.html +++ b/packages/ods/src/components/modal/src/index.html @@ -26,7 +26,7 @@ - + diff --git a/packages/ods/src/style/_modal.scss b/packages/ods/src/style/_modal.scss index b445657a6..910a3052e 100644 --- a/packages/ods/src/style/_modal.scss +++ b/packages/ods/src/style/_modal.scss @@ -1,7 +1,6 @@ $ods-modal-border-radius: var(--ods-border-radius-sm); $ods-modal-header-height: 32px; - @mixin animation-mixin($name) { @keyframes modal-open { 0% { @@ -140,7 +139,6 @@ $ods-modal-header-height: 32px; flex-direction: column; padding: 24px; width: 100%; - height: calc(100% - $ods-modal-header-height); overflow-y: auto; }