From 50eff1e5d454e3ca381ce566e2dc055f2456e866 Mon Sep 17 00:00:00 2001 From: Linrador <68631622+Linrador@users.noreply.github.com> Date: Tue, 23 Jun 2026 08:52:36 +0200 Subject: [PATCH] bugfix --- frontend/src/components/calendar/Calendar.tsx | 7 ++++- .../src/pages/devices/DeviceFormFields.tsx | 30 ++++++++++--------- 2 files changed, 22 insertions(+), 15 deletions(-) diff --git a/frontend/src/components/calendar/Calendar.tsx b/frontend/src/components/calendar/Calendar.tsx index 80d05e7..2194a4e 100644 --- a/frontend/src/components/calendar/Calendar.tsx +++ b/frontend/src/components/calendar/Calendar.tsx @@ -677,6 +677,7 @@ function TimeGridView({ ? normalizeTimeRange(timeSelection.anchor, timeSelection.focus) : null const gridTemplateColumns = `3.5rem repeat(${days.length}, minmax(7rem, 1fr))` + const showHoverSlotTopEdge = days.length === 1 function getSlotFromPointer( clientX: number, @@ -1007,7 +1008,11 @@ function TimeGridView({ hoveredSlot?.dayKey === toDateKey(day) && (