Show holiday name tooltip on the entire day cell.

This commit is contained in:
2025-09-25 19:23:22 +00:00
parent bba53f8562
commit c92826ab6f
+2 -1
View File
@@ -48,11 +48,12 @@ const formattedDate = computed(() => {
:style="props.dragging ? 'touch-action:none;' : 'touch-action:pan-y;'"
:class="[props.day.monthClass, { today: props.day.isToday, weekend: props.day.isWeekend, firstday: props.day.isFirstDay, selected: props.day.isSelected, holiday: props.day.isHoliday }]"
:data-date="props.day.date"
:title="props.day.holiday?.name"
>
<span class="compact-date">{{ formattedDate }}</span>
<h1 class="day-number">{{ props.day.displayText }}</h1>
<span v-if="props.day.lunarPhase" class="lunar-phase">{{ props.day.lunarPhase }}</span>
<div v-if="props.day.holiday" class="holiday-info" dir="auto" :title="props.day.holiday.name">
<div v-if="props.day.holiday" class="holiday-info" dir="auto">
{{ props.day.holiday.name }}
</div>
</div>