0
0
Fork 0

style: color transparent when is fetive

This commit is contained in:
Javier Segarra 2024-05-22 10:21:06 +02:00
parent eaa0288f25
commit f6051472ef
1 changed files with 5 additions and 2 deletions

View File

@ -169,7 +169,6 @@ const isToday = (timestamp) => {
const { year, month, day } = timestamp;
return todayTimestamp.value === new Date(year, month - 1, day).getTime();
};
onBeforeMount(() => {
updateSelectedDate(_year.value);
});
@ -229,6 +228,11 @@ watch(_year, (newValue) => {
</template>
<style lang="scss">
.q-calendar-month__day:has(.q-calendar-month__day--content):has(.q-btn.--festive)
.q-calendar-month__day--label__wrapper
button {
color: transparent;
}
.calendar-event {
display: flex;
justify-content: center;
@ -244,7 +248,6 @@ watch(_year, (newValue) => {
&.--festive {
color: $negative;
// border: 2px solid $negative;
}
&.--holiday {