added hover state to date picker
This commit is contained in:
		
							parent
							
								
									d32d8ea4c3
								
							
						
					
					
						commit
						7699783c17
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		|  | @ -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" | ||||
|  |  | |||
		Loading…
	
		Reference in a new issue
	
	 Peer Richelsen
						Peer Richelsen