From e452f72a8a8920e27c3424bf1e569e91bfa02f3f Mon Sep 17 00:00:00 2001
From: Linus Rath <139418639+rathlinus@users.noreply.github.com>
Date: Thu, 15 Oct 2026 04:05:49 +0200
Subject: [PATCH] fix: keep the all-day label in the day and week grid on one
line
---
src/components/calendar/TimeGridScrollView.tsx | 4 +++-
src/components/calendar/WeekView.tsx | 2 +-
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/src/components/calendar/TimeGridScrollView.tsx b/src/components/calendar/TimeGridScrollView.tsx
index c553c2d6..8c226637 100644
--- a/src/components/calendar/TimeGridScrollView.tsx
+++ b/src/components/calendar/TimeGridScrollView.tsx
@@ -412,7 +412,9 @@ function TimeGridScrollViewInner({
{allDayHeight > 0 && (
-
+ {/* One line that shrinks to the gutter: a second line was cut
+ off by a one-row strip, leaving "All". */}
+
{t('calendar.events.all_day', 'All day')}
diff --git a/src/components/calendar/WeekView.tsx b/src/components/calendar/WeekView.tsx
index ed2f7b28..d3c156d9 100644
--- a/src/components/calendar/WeekView.tsx
+++ b/src/components/calendar/WeekView.tsx
@@ -179,7 +179,7 @@ function WeekViewInner({
{allDayRowCount > 0 && (
- {t('calendar.events.all_day', 'All day')}
+ {t('calendar.events.all_day', 'All day')}
{/* Empty per-day columns to draw vertical separators */}