From 72518fa7f99ec12ac7ad5fec88d9344df4bed2a8 Mon Sep 17 00:00:00 2001 From: Linus Rath <139418639+rathlinus@users.noreply.github.com> Date: Tue, 3 Nov 2026 05:54:12 +0100 Subject: [PATCH] fix: stop the time breaking over three lines in a narrow overlapping event --- components/calendar/event-card.tsx | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/components/calendar/event-card.tsx b/components/calendar/event-card.tsx index 79795ae82..3e721770f 100644 --- a/components/calendar/event-card.tsx +++ b/components/calendar/event-card.tsx @@ -383,10 +383,13 @@ export function EventCard({ event, calendar, variant, onClick, onMouseEnter, onM )} + {/* Not in a block too narrow for it (several events at once): it broke over three lines of clipped text. */} {!event.showWithoutTime && durationMinutes >= 45 && ( -
- {/* Start before end in a right-to-left layout too. */} - {timeString} +
+
+ {/* Start before end in a right-to-left layout too. */} + {timeString} +
)} {visibleCalendarName && (