From 969cb5cd18e2b371a0ec8dc3839fa8cf63521c0f Mon Sep 17 00:00:00 2001 From: Denis Vershkov Date: Wed, 27 Dec 2023 08:56:53 +0100 Subject: [PATCH] fix: updated css to save previous scroll position when Modal can't shrink anymore --- src/components/Modal/Modal.scss | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/Modal/Modal.scss b/src/components/Modal/Modal.scss index 572d93435b..c973fa8d0a 100644 --- a/src/components/Modal/Modal.scss +++ b/src/components/Modal/Modal.scss @@ -20,10 +20,10 @@ $block: '.#{variables.$ns}modal'; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); &__content-aligner-wrapper { - width: 100%; + min-width: 100%; min-height: 100%; - display: flex; + display: inline-flex; align-items: center; justify-content: center; }