From 783586d3ed05f16c5a9569e6db27bc3788923122 Mon Sep 17 00:00:00 2001 From: Kamil Niemczycki Date: Wed, 6 Jul 2022 15:08:13 +0200 Subject: [PATCH] - improved calendar responsiveness --- resources/js/Shared/Widgets/VacationCalendar.vue | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/resources/js/Shared/Widgets/VacationCalendar.vue b/resources/js/Shared/Widgets/VacationCalendar.vue index d834fd2..233f405 100644 --- a/resources/js/Shared/Widgets/VacationCalendar.vue +++ b/resources/js/Shared/Widgets/VacationCalendar.vue @@ -10,6 +10,7 @@ v-if="calendarState.isPrevious" type="button" class="flex items-center justify-center rounded-l-md border border-r-0 border-gray-300 bg-white py-2 pl-3 pr-4 text-gray-400 hover:text-gray-500 focus:relative md:w-9 md:px-2 md:hover:bg-gray-50" + :class="{ 'rounded-r-md border-r md:rounded-r-none md:border-r-0': !calendarState.isNext }" @click="toLast" > Poprzedni {{ calendarState.viewMode.details.shortcut }} @@ -24,13 +25,17 @@ :class="{ 'rounded-l-md border border-r-0': !calendarState.isPrevious, 'rounded-r-md border border-l-0': !calendarState.isNext }" @click="goToToday" > - Dziś + Dzisiaj - +