From dae08c322dbad65cfb0a3062c2a4a7330ef4cd55 Mon Sep 17 00:00:00 2001 From: wbuezas Date: Fri, 5 Apr 2024 08:04:34 -0300 Subject: [PATCH] visual adjustments --- src/pages/Worker/Card/WorkerCalendar.vue | 16 +++++++++------- src/pages/Worker/Card/WorkerCalendarItem.vue | 8 ++++---- 2 files changed, 13 insertions(+), 11 deletions(-) diff --git a/src/pages/Worker/Card/WorkerCalendar.vue b/src/pages/Worker/Card/WorkerCalendar.vue index fdfb3f9f8..379ba334f 100644 --- a/src/pages/Worker/Card/WorkerCalendar.vue +++ b/src/pages/Worker/Card/WorkerCalendar.vue @@ -138,7 +138,7 @@ watch([year, businessFk], () => refreshData()); auto-load /> @@ -170,13 +170,13 @@ watch([year, businessFk], () => refreshData()); {{ t('Autonomous worker') }} - + {{ @@ -208,18 +208,20 @@ watch([year, businessFk], () => refreshData()); .calendar-container { display: grid; gap: 32px; - grid-template-columns: repeat(3, minmax(0, 1fr)); + grid-template-columns: repeat(3, minmax(0, 320px)); + padding: 40px; + justify-content: center; } @media (max-width: $breakpoint-md) { .calendar-container { - grid-template-columns: repeat(2, minmax(0, 1fr)); + grid-template-columns: repeat(2, minmax(0, 320px)); } } @media (max-width: $breakpoint-xs) { .calendar-container { - grid-template-columns: repeat(1, minmax(0, 1fr)); + grid-template-columns: repeat(1, minmax(0, 320px)); } } diff --git a/src/pages/Worker/Card/WorkerCalendarItem.vue b/src/pages/Worker/Card/WorkerCalendarItem.vue index 481d926c4..92fd3f47b 100644 --- a/src/pages/Worker/Card/WorkerCalendarItem.vue +++ b/src/pages/Worker/Card/WorkerCalendarItem.vue @@ -150,7 +150,7 @@ watch(props.year, (newValue) => {