0
0
Fork 0

refs #6332 fix festive

This commit is contained in:
Carlos Satorres 2024-05-22 09:35:56 +02:00
parent a0ca26ad9b
commit c1bcc0379d
1 changed files with 2 additions and 6 deletions

View File

@ -153,10 +153,7 @@ const getEventAttrs = (timestamp) => {
const attrs = { const attrs = {
title: name, title: name,
style: style: color ? `background-color: ${color};` : ``,
color && type !== 'holiday'
? `background-color: ${color};`
: 'background-color:#3d3d3d;',
label: timestamp.day, label: timestamp.day,
}; };
@ -247,12 +244,11 @@ watch(_year, (newValue) => {
&.--festive { &.--festive {
color: $negative; color: $negative;
border: 2px solid $negative;
} }
&.--holiday { &.--holiday {
& > span:nth-child(2) .block { & > span:nth-child(2) .block {
color: $negative; color: white;
} }
} }