From c1bcc0379daf3ea36775446f4c3393112a369644 Mon Sep 17 00:00:00 2001 From: carlossa Date: Wed, 22 May 2024 09:35:56 +0200 Subject: [PATCH] refs #6332 fix festive --- src/pages/Worker/Card/WorkerCalendarItem.vue | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/pages/Worker/Card/WorkerCalendarItem.vue b/src/pages/Worker/Card/WorkerCalendarItem.vue index 0a89b131d..c63a775c3 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,11 @@ watch(_year, (newValue) => { &.--festive { color: $negative; - border: 2px solid $negative; } &.--holiday { & > span:nth-child(2) .block { - color: $negative; + color: white; } }