Firefox compatibility
This commit is contained in:
parent
354893342d
commit
b539c71611
@ -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"
|
||||
|
@ -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 ------------------------------------------------------------
|
||||
|
Loading…
x
Reference in New Issue
Block a user