diff --git a/components/calendar/mini-calendar.tsx b/components/calendar/mini-calendar.tsx
index eeeb82600..b4eb26eb5 100644
--- a/components/calendar/mini-calendar.tsx
+++ b/components/calendar/mini-calendar.tsx
@@ -239,7 +239,7 @@ export function MiniCalendar({
key={d}
scope="col"
abbr={weeks[0]?.[index] ? intlFormatter.dateTime(weeks[0][index], { weekday: "long" }) : undefined}
- className="text-center text-[0.625rem] font-medium text-muted-foreground py-1"
+ className="overflow-hidden text-center text-[0.625rem] font-medium text-muted-foreground py-1"
>
{t(`days.${d}`)}
@@ -275,12 +275,12 @@ export function MiniCalendar({
tabIndex={key === tabStopKey ? 0 : -1}
onClick={() => { setFocusedKey(key); onSelectDate(day); }}
onKeyDown={(e) => handleDayKeyDown(e, day, column)}
- className="group/day inline-flex items-center justify-center w-7 h-7 pointer-coarse:w-full pointer-coarse:h-11 text-xs"
+ className="group/day inline-flex items-center justify-center w-full max-w-7 h-7 pointer-coarse:max-w-none pointer-coarse:w-full pointer-coarse:h-11 text-xs"
aria-current={today ? "date" : undefined}
>
{label}
{formatDayNumber(day)}
{hasEvent && !selected && !today && (
-
+
)}