From 7699783c173b86d27028bd308a66778dedbfa3e6 Mon Sep 17 00:00:00 2001 From: Peer Richelsen Date: Sun, 8 Aug 2021 17:56:34 +0200 Subject: [PATCH] added hover state to date picker --- components/booking/DatePicker.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/booking/DatePicker.tsx b/components/booking/DatePicker.tsx index e840a9bda5..41a4ab9467 100644 --- a/components/booking/DatePicker.tsx +++ b/components/booking/DatePicker.tsx @@ -147,9 +147,9 @@ const DatePicker = ({ onClick={() => setSelectedDate(inviteeDate.date(day))} disabled={isDisabled(day)} className={ - "text-center w-10 h-10 mx-auto" + + "text-center w-10 h-10 mx-auto hover:border hover:border-black dark:hover:border-white" + (isDisabled(day) - ? " text-gray-400 font-light" + ? " text-gray-400 font-light hover:border-0 cursor-default" : " dark:text-white text-primary-500 font-medium") + (selectedDate && selectedDate.isSame(inviteeDate.date(day), "day") ? " bg-black text-white-important"