From 147a5bb48870d8d83b94dc19a6cf2f2f1a0d8dfa Mon Sep 17 00:00:00 2001 From: thislight Date: Mon, 5 Aug 2024 16:28:50 +0800 Subject: [PATCH] BottomSheet: position below the insets top --- src/material/BottomSheet.module.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/material/BottomSheet.module.css b/src/material/BottomSheet.module.css index 1f428c8..0295b86 100644 --- a/src/material/BottomSheet.module.css +++ b/src/material/BottomSheet.module.css @@ -22,7 +22,7 @@ @media (max-width: 560px) { & { left: 0; - top: 0; + top: var(--safe-area-inset-top, 0); transform: none; bottom: 0; height: 100vh;