From 264cf7d3843efe704177f4bf021d0bff0d4ff9e9 Mon Sep 17 00:00:00 2001 From: Maurice Date: Wed, 17 Jun 2026 15:23:23 +0200 Subject: [PATCH] fix(vacay): keep the mode toolbar above the mobile bottom nav The floating Vacation/Company toolbar was pinned at bottom-3 with z-30, so on mobile it landed in the same band as the fixed bottom nav (z-60) and got hidden behind it - and could scroll out of reach entirely. Pin it above the nav with the shared --bottom-nav-h variable (0px on desktop, so nothing changes there) and reserve matching space below the calendar grid so it never gets swallowed. --- client/src/components/Vacay/VacayCalendar.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/client/src/components/Vacay/VacayCalendar.tsx b/client/src/components/Vacay/VacayCalendar.tsx index 382b1252..dea3a30c 100644 --- a/client/src/components/Vacay/VacayCalendar.tsx +++ b/client/src/components/Vacay/VacayCalendar.tsx @@ -69,7 +69,7 @@ export default function VacayCalendar() { return (
-
+
{Array.from({ length: 12 }, (_, i) => ( - {/* Floating toolbar */} -
+ {/* Floating toolbar — lift above the mobile bottom nav (z-60). On desktop --bottom-nav-h is 0px. */} +