From fcf5c71d99fbfd9f7a279cf6d210cd8f212d99ca Mon Sep 17 00:00:00 2001 From: Arthur Deierlein Date: Fri, 13 Dec 2024 14:36:21 +0100 Subject: [PATCH] fix(frontend): holidays marked as regular wordays --- frontend/app/components/weekly-overview-day.hbs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/app/components/weekly-overview-day.hbs b/frontend/app/components/weekly-overview-day.hbs index 28ae0fe35..f301ecc6e 100644 --- a/frontend/app/components/weekly-overview-day.hbs +++ b/frontend/app/components/weekly-overview-day.hbs @@ -6,14 +6,14 @@ class="weekly-overview-day relative z-10 h-0 w-4 cursor-pointer [&>*]:transition-colors {{if @active 'active'}} {{if @absence 'absence'}} - {{if @holiday 'holiday'}} + {{if @holiday 'holiday !bg-red-500'}} {{unless @workday 'weekend'}} {{if @absence 'text-overview-absence hover:text-overview-absence-hf focus:text-overview-absence-hf [&.active]:text-overview-absence-active' (or (if - @workday + (and @workday (not @holiday)) 'text-overview-workday hover:text-overview-workday-hf focus:text-overview-workday-hf [&.active]:text-overview-workday-active' ) 'text-overview-weekend hover:text-overview-weekend-hf focus:text-overview-weekend-hf [&.active]:text-overview-weekend-active'