Skip to content

Commit 1788d1f

Browse files
committed
fix: BottomNav grows for gesture bar — minHeight + 8px base bottom padding
1 parent 9787c2f commit 1788d1f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

app/components/BottomNav.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,10 @@ export default function BottomNav() {
2929
display: "flex",
3030
justifyContent: "space-around",
3131
alignItems: "center",
32-
height: 64,
32+
minHeight: 64,
3333
width: "100%",
3434
maxWidth: 600,
35-
paddingBottom: "env(safe-area-inset-bottom, 0px)",
35+
paddingBottom: "max(8px, env(safe-area-inset-bottom, 8px))",
3636
boxShadow: "0 -2px 12px rgba(0,0,0,0.06)",
3737
}}
3838
>

0 commit comments

Comments
 (0)