fix: keep the all-day label inside the week view's gutter on a phone

This commit is contained in:
Linus Rath
2026-11-03 05:44:12 +01:00
parent d7314aa8b0
commit 7ccedf30f9
+2 -1
View File
@@ -511,7 +511,8 @@ export function CalendarWeekView({
className={cn(gutterClass, "text-[0.625rem] text-muted-foreground p-1 text-end flex flex-col justify-between")}
style={{ height: allDayHeight }}
>
<span>{t("events.all_day")}</span>
{/* A long single word ("Ganztägig") must stay inside the narrow gutter of a phone. */}
<span className="hyphens-auto [overflow-wrap:anywhere]">{t("events.all_day")}</span>
{isExpandable && (
<button
type="button"