Spaces:
Running
Running
gpt-engineer-app[bot]
commited on
Commit
·
19bc1d2
1
Parent(s):
9cc43e7
Fix calendar hover background
Browse filesThe calendar's hover background was transparent; this commit addresses that issue.
src/components/ui/tooltip.tsx
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
|
|
| 1 |
import * as React from "react"
|
| 2 |
import * as TooltipPrimitive from "@radix-ui/react-tooltip"
|
| 3 |
|
|
@@ -17,7 +18,7 @@ const TooltipContent = React.forwardRef<
|
|
| 17 |
ref={ref}
|
| 18 |
sideOffset={sideOffset}
|
| 19 |
className={cn(
|
| 20 |
-
"z-50 overflow-hidden rounded-md
|
| 21 |
className
|
| 22 |
)}
|
| 23 |
{...props}
|
|
|
|
| 1 |
+
|
| 2 |
import * as React from "react"
|
| 3 |
import * as TooltipPrimitive from "@radix-ui/react-tooltip"
|
| 4 |
|
|
|
|
| 18 |
ref={ref}
|
| 19 |
sideOffset={sideOffset}
|
| 20 |
className={cn(
|
| 21 |
+
"z-50 overflow-hidden rounded-md bg-white border px-3 py-1.5 text-sm text-neutral-800 shadow-md animate-in fade-in-50 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 duration-200",
|
| 22 |
className
|
| 23 |
)}
|
| 24 |
{...props}
|