Fix 1px gap between bottom nav and safe-area spacer on iOS Safari

This commit is contained in:
Chad Curtis
2026-03-24 01:59:06 -05:00
parent 3fb206597c
commit a1cc46abc8
+3 -2
View File
@@ -131,8 +131,9 @@ export function MobileBottomNav() {
</div>
</div>
{/* Safe area spacer — sits below the arc/items so it doesn't inflate the arc height */}
<div className="safe-area-bottom bg-background/95" />
{/* Safe area spacer — sits below the arc/items so it doesn't inflate the arc height.
-mt-px removes the sub-pixel gap iOS Safari renders between adjacent elements. */}
<div className="-mt-px pt-px safe-area-bottom bg-background/95" />
</nav>
</>
);