From 1d0cb4dfa022db7fc1653e2c4d8a705d7b9f7332 Mon Sep 17 00:00:00 2001 From: Tim Date: Wed, 9 Oct 2024 10:56:52 +0200 Subject: [PATCH] refactor(BottomSheet): make container follow to size of content --- src/common/BottomSheet/BottomSheet.less | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/common/BottomSheet/BottomSheet.less b/src/common/BottomSheet/BottomSheet.less index 0fef3faf1..b159242d0 100644 --- a/src/common/BottomSheet/BottomSheet.less +++ b/src/common/BottomSheet/BottomSheet.less @@ -28,8 +28,8 @@ .container { z-index: 1; position: absolute; - top: var(--horizontal-nav-bar-size); - height: 100%; + bottom: 0; + max-height: calc(100% - var(--horizontal-nav-bar-size)); width: 100%; display: flex; flex-direction: column;