From 8d14abf12289cd14b777a0b637d9704465fd9661 Mon Sep 17 00:00:00 2001 From: thislight Date: Tue, 13 Aug 2024 15:09:18 +0800 Subject: [PATCH] BottomSheet: fix height on phone --- src/material/BottomSheet.module.css | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/material/BottomSheet.module.css b/src/material/BottomSheet.module.css index 237d0bd..5693423 100644 --- a/src/material/BottomSheet.module.css +++ b/src/material/BottomSheet.module.css @@ -31,7 +31,8 @@ bottom: 0; height: 100vh; height: 100dvh; - max-height: 100%; + max-height: 100vh; + max-height: 100dvh; } }