From 3802f3c0e64135873ea13ea76d1c9609928615fa Mon Sep 17 00:00:00 2001 From: G30 <50341825+silentoplayz@users.noreply.github.com> Date: Fri, 30 Oct 2026 16:57:28 -0400 Subject: [PATCH] fix(a11y): calendar event chips and "and N more" are no longer inside the day and hour buttons (#33428) --- .../calendar/CalendarEventChip.svelte | 2 +- .../components/calendar/CalendarView.svelte | 87 +++++++++++++------ 2 files changed, 62 insertions(+), 27 deletions(-) diff --git a/src/lib/components/calendar/CalendarEventChip.svelte b/src/lib/components/calendar/CalendarEventChip.svelte index 6f135a6471..30c9230307 100644 --- a/src/lib/components/calendar/CalendarEventChip.svelte +++ b/src/lib/components/calendar/CalendarEventChip.svelte @@ -13,7 +13,7 @@ +
+
{#each dayEvents.slice(0, 3) as evt (evt.instance_id || evt.id)} {/each} {#if dayEvents.length > 3} - -
goToDayView(day)} +
+ {/if}
- +
{/each} @@ -264,13 +287,20 @@ {#each weekDays as day} {@const hourEvents = getEventsForHour(day, hour, filteredEvents)} - +
{#each hourEvents.slice(0, 3) as evt (evt.instance_id || evt.id)} {/each} {#if hourEvents.length > 3} - -
goToDayView(day)} +
+ {/if}
- + {/each} {/each} @@ -316,12 +346,17 @@ > {formatHour(hour)} - +
{#each hourEvents as evt (evt.instance_id || evt.id)} {/each}
- + {/each}