From eaa0288f25d3ca01f70fb23c05c6c4f33c8100b5 Mon Sep 17 00:00:00 2001 From: Javier Segarra Date: Wed, 22 May 2024 09:27:48 +0200 Subject: [PATCH] update --- src/pages/Worker/Card/WorkerCalendarItem.vue | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/src/pages/Worker/Card/WorkerCalendarItem.vue b/src/pages/Worker/Card/WorkerCalendarItem.vue index 0a89b131d..4167a013c 100644 --- a/src/pages/Worker/Card/WorkerCalendarItem.vue +++ b/src/pages/Worker/Card/WorkerCalendarItem.vue @@ -153,10 +153,7 @@ const getEventAttrs = (timestamp) => { const attrs = { title: name, - style: - color && type !== 'holiday' - ? `background-color: ${color};` - : 'background-color:#3d3d3d;', + style: color ? `background-color: ${color};` : '', label: timestamp.day, }; @@ -247,12 +244,12 @@ watch(_year, (newValue) => { &.--festive { color: $negative; - border: 2px solid $negative; + // border: 2px solid $negative; } &.--holiday { & > span:nth-child(2) .block { - color: $negative; + color: white; } }