fix: respect safe-area insets on mobile bottom bars

This commit is contained in:
Timo Streule
2026-05-15 23:50:29 +02:00
committed by Linus Rath
parent c45ef86924
commit c54cf73c3a
4 changed files with 5 additions and 4 deletions
+1 -1
View File
@@ -273,7 +273,7 @@ export function NavigationRail({
if (orientation === "horizontal") {
return (
<nav
className={cn("flex items-center bg-background border-t border-border shrink-0 overflow-x-auto mobile-scroll-hidden", className)}
className={cn("flex items-center bg-background border-t border-border shrink-0 overflow-x-auto mobile-scroll-hidden pb-[calc(env(safe-area-inset-bottom)/2)]", className)}
role="navigation"
aria-label={t("nav_label")}
>