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