From 0f78657f353cea36f5097b1a55238c5c28b28eb5 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; } }