- small improvements

This commit is contained in:
2022-07-07 09:11:40 +02:00
parent 94350f8a82
commit 0ddbec1499
2 changed files with 32 additions and 37 deletions

View File

@@ -13,7 +13,8 @@
}
],
day.isHoliday && 'font-bold cursor-default',
(day.isPendingVacation) && `border-b-4 border-dashed ${day.getVacationType.border} md:border-blumilk-600`
(day.isPendingVacation) && `border-b-4 border-dashed ${day.getVacationType.border}`,
(day.isVacation) && `border-b-4 ${day.getVacationType.border}`
]"
>
<Popper
@@ -33,7 +34,7 @@
</time>
<template #content>
<div class="py-2 px-6 text-sm font-semibold text-left text-gray-700 bg-white rounded-lg border border-gray-400">
{{ getHolidayDescription(day) }}
{{ day.getHolidayInfo }}
</div>
</template>
</Popper>
@@ -103,9 +104,6 @@ defineProps({
type: Object,
required: true,
},
getHolidayDescription: {
type: Function,
},
})
const isActive = ref(false)