Firefox compatibility

This commit is contained in:
Leo Vasanko 2025-08-27 06:03:41 -06:00
parent 354893342d
commit b539c71611
2 changed files with 4 additions and 5 deletions

View File

@ -457,7 +457,7 @@ window.addEventListener('resize', () => {
/>
<div class="calendar-container">
<div class="calendar-viewport" ref="viewport">
<div class="calendar-content">
<div class="calendar-content" :style="{ height: contentHeight + 'px' }">
<CalendarWeek
v-for="week in visibleWeeks"
:key="week.virtualWeek"
@ -471,8 +471,8 @@ window.addEventListener('resize', () => {
@event-click="handleEventClick"
/>
</div>
<div class="month-column-area">
<div class="month-labels-container" :style="{ height: contentHeight + 'px' }">
<div class="month-column-area" :style="{ height: contentHeight + 'px' }">
<div class="month-labels-container" :style="{ height: '100%' }">
<template v-for="monthWeek in visibleWeeks" :key="monthWeek.virtualWeek + '-month'">
<div
v-if="monthWeek && monthWeek.monthLabel"

View File

@ -23,8 +23,7 @@ const monthAbbr = [
'nov',
'dec',
]
// Browser safe range
const MIN_YEAR = 100
const MIN_YEAR = 1000
const MAX_YEAR = 9999
// Core helpers ------------------------------------------------------------