From c82f4652f54f8202b982043eb4576d7408960600 Mon Sep 17 00:00:00 2001 From: wbuezas <wbuezas@verdnatura.es> Date: Tue, 16 Apr 2024 09:44:52 -0300 Subject: [PATCH] Move capitalize header week day to wrapper --- src/components/ui/QCalendarMonthWrapper.vue | 5 +++++ src/pages/Worker/Card/WorkerTimeControlCalendar.vue | 4 ---- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/src/components/ui/QCalendarMonthWrapper.vue b/src/components/ui/QCalendarMonthWrapper.vue index b14f118f0..d0a02eed0 100644 --- a/src/components/ui/QCalendarMonthWrapper.vue +++ b/src/components/ui/QCalendarMonthWrapper.vue @@ -56,6 +56,11 @@ const containerClasses = computed(() => { } } +.q-calendar-month__head--weekday { + // Transforma los nombres de los días de la semana a mayúsculas + text-transform: capitalize; +} + .transparent-background { --calendar-background-dark: transparent; --calendar-background: transparent; diff --git a/src/pages/Worker/Card/WorkerTimeControlCalendar.vue b/src/pages/Worker/Card/WorkerTimeControlCalendar.vue index 210bb2619..2e848b7d5 100644 --- a/src/pages/Worker/Card/WorkerTimeControlCalendar.vue +++ b/src/pages/Worker/Card/WorkerTimeControlCalendar.vue @@ -179,10 +179,6 @@ const paintWorkWeeks = async () => { user-select: none; } -.q-calendar-month__head--weekday { - text-transform: capitalize; -} - .q-calendar__button { &:hover { background-color: var(--vn-accent-color);