Show holiday name tooltip on the entire day cell.

This commit is contained in:
Leo Vasanko
2025-09-25 07:23:22 -06:00
parent 0859e77b6a
commit 704773dc8a

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>