diff --git a/src/components/unstyled/bottom-navigation.css b/src/components/unstyled/bottom-navigation.css index 615e7601633..3b7fb29d38f 100644 --- a/src/components/unstyled/bottom-navigation.css +++ b/src/components/unstyled/bottom-navigation.css @@ -1,5 +1,6 @@ .btm-nav { @apply flex flex-row items-center justify-around fixed bottom-0 left-0 right-0 w-full; + padding-bottom: env(safe-area-inset-bottom); &>* { @apply flex items-center justify-center flex-col basis-full h-full cursor-pointer relative gap-1; } diff --git a/src/docs/src/routes/components/bottom-navigation.svelte.md b/src/docs/src/routes/components/bottom-navigation.svelte.md index 0b0ad89c32c..5a8c3389fc8 100644 --- a/src/docs/src/routes/components/bottom-navigation.svelte.md +++ b/src/docs/src/routes/components/bottom-navigation.svelte.md @@ -23,6 +23,13 @@ data="{[ ]}" /> +
+
+ + The <meta name="viewport" content="viewport-fit=cover"> is required for responsive of the bottom navigation in iOS. +
+
+