diff --git a/components/calendar/event-card.tsx b/components/calendar/event-card.tsx index 66a09c008..1113fd0b7 100644 --- a/components/calendar/event-card.tsx +++ b/components/calendar/event-card.tsx @@ -219,12 +219,15 @@ export function EventCard({ event, calendar, variant, onClick, onMouseEnter, onM style={{ ...eventFillStyle(color, { inactive: isInactive, separated: true, selected: isSelected }), ...style }} > {/* Shorter blocks have no room for a second line at the 60px hour, so - their start time follows the title on the same line. */} -
- {event.title || t("events.no_title")} - {!event.showWithoutTime && durationMinutes < 45 && ( - {safeFormat(startDate, timeFmt)} - )} + their start time follows the title on the same line, when the + block is wide enough to keep the title readable. */} +
+
+ {event.title || t("events.no_title")} + {!event.showWithoutTime && durationMinutes < 45 && ( + {safeFormat(startDate, timeFmt)} + )} +
{!event.showWithoutTime && durationMinutes >= 45 && (