mirror of
https://github.com/bulwarkmail/webmail.git
synced 2026-11-04 16:14:07 +00:00
fix: keep the all-day label inside the week view's gutter on a phone
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user