From 009be46832374ab7657c293906e193b37e222659 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bar=C4=B1=C5=9F=20Soner=20U=C5=9Fakl=C4=B1?= Date: Thu, 5 Mar 2026 21:55:06 -0500 Subject: [PATCH] fix: fix bottom sheet max-height so it doesn't push the top out of viewport --- public/scss/modules/bottom-sheet.scss | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/public/scss/modules/bottom-sheet.scss b/public/scss/modules/bottom-sheet.scss index 557827ad2a..9306a2ed31 100644 --- a/public/scss/modules/bottom-sheet.scss +++ b/public/scss/modules/bottom-sheet.scss @@ -9,21 +9,22 @@ inset: auto 0 0 0!important; margin: 0 -1px -1px -1px; - padding: $spacer * 0.25 !important; - max-height: clamp(600px, 80dvh, 90dvh); - + max-height: 100dvh!important; box-shadow: 0 2px 6px rgba(0,0,0,0.35); overflow: auto; -webkit-overflow-scrolling: touch; transform: translate3d(0, 100%, 0); transition: transform 0.3s, visibility 0s 0.3s; z-index: $zindex-popover; - padding: 5px 0 10px; + padding: $spacer * 0.25 !important; border-radius: 0; border: 0px; border-top: 1px solid $border-color; + > ul { + max-height: clamp(300px, 60dvh, 100dvh)!important; + } > li { > a, .dropdown-item { padding: 10px 20px;