diff --git a/components/calendar/event-card.tsx b/components/calendar/event-card.tsx
index 3e721770f..0596f3bb9 100644
--- a/components/calendar/event-card.tsx
+++ b/components/calendar/event-card.tsx
@@ -292,15 +292,17 @@ export function EventCard({ event, calendar, variant, onClick, onMouseEnter, onM
...style,
}}
>
-
- {textStyle === "dot" && (
-
- )}
-
{safeFormat(startDate, timeFmt)}
-
{event.title || t("events.no_title")}
- {visibleCalendarName && (
-
{visibleCalendarName}
- )}
+
+
+ {textStyle === "dot" && (
+
+ )}
+ {safeFormat(startDate, timeFmt)}
+ {event.title || t("events.no_title")}
+ {visibleCalendarName && (
+ {visibleCalendarName}
+ )}
+
);
@@ -327,14 +329,18 @@ export function EventCard({ event, calendar, variant, onClick, onMouseEnter, onM
)}
style={{ ...eventFillStyle(color, { inactive: isInactive, selected: isSelected, tinted }), ...style }}
>
-
- {showTimeInMonthView && !event.showWithoutTime && (
-
{format(startDate, timeFmt)}
- )}
-
{event.title || t("events.no_title")}
- {visibleCalendarName && (
-
{visibleCalendarName}
- )}
+ {/* The title comes first: in a narrow day the time and the calendar's
+ name left it no room, or one letter. */}
+
+
+ {showTimeInMonthView && !event.showWithoutTime && (
+ {format(startDate, timeFmt)}
+ )}
+ {event.title || t("events.no_title")}
+ {visibleCalendarName && (
+ {visibleCalendarName}
+ )}
+
);