added hover state to date picker
parent
d32d8ea4c3
commit
7699783c17
|
@ -147,9 +147,9 @@ const DatePicker = ({
|
||||||
onClick={() => setSelectedDate(inviteeDate.date(day))}
|
onClick={() => setSelectedDate(inviteeDate.date(day))}
|
||||||
disabled={isDisabled(day)}
|
disabled={isDisabled(day)}
|
||||||
className={
|
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)
|
(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") +
|
: " dark:text-white text-primary-500 font-medium") +
|
||||||
(selectedDate && selectedDate.isSame(inviteeDate.date(day), "day")
|
(selectedDate && selectedDate.isSame(inviteeDate.date(day), "day")
|
||||||
? " bg-black text-white-important"
|
? " bg-black text-white-important"
|
||||||
|
|
Loading…
Reference in New Issue