From f0d30311467f8a2dce7e46d3c4b43131685827f5 Mon Sep 17 00:00:00 2001 From: Linus Rath <139418639+rathlinus@users.noreply.github.com> Date: Tue, 3 Nov 2026 09:12:29 +0100 Subject: [PATCH] fix: keep the mini calendar's days and weekdays apart at large text --- components/calendar/mini-calendar.tsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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} {hasEvent && !selected && !today && ( -