chore: update dependencies and improve chart tooltip styling
- Updated package versions in package.json: - "@next/mdx" from "^16.1.3" to "^16.1.6" - "framer-motion" from "^12.26.2" to "^12.34.0" - "lucide-react" from "^0.562.0" to "^0.564.0" - "next" from "16.1.3" to "16.1.6" - "react" from "19.2.3" to "19.2.4" - "react-day-picker" from "^9.13.0" to "^9.13.2" - "react-dom" from "19.2.3" to "19.2.4" - "react-resizable-panels" from "^4.4.1" to "^4.6.3" - "shadcn" from "^3.7.0" to "^3.8.4" - "zod" from "^4.3.5" to "^4.3.6" - "@biomejs/biome" from "2.3.11" to "2.3.15" - "@types/node" from "^25.0.9" to "^25.2.3" - Refactored ChartTooltipContent component in chart.tsx: - Simplified className construction for better readability and consistency.
This commit is contained in:
parent
f073dfb7d3
commit
ebaa0b9e68
4 changed files with 3621 additions and 952 deletions
|
|
@ -172,10 +172,7 @@ function ChartTooltipContent({
|
|||
|
||||
return (
|
||||
<div
|
||||
className={cn(
|
||||
"border-border/50 bg-background gap-1.5 rounded-lg border px-2.5 py-1.5 text-xs shadow-xl grid min-w-[8rem] items-start",
|
||||
className
|
||||
)}
|
||||
className={cn("border-border/50 bg-background gap-1.5 rounded-lg border px-2.5 py-1.5 text-xs shadow-xl grid min-w-32 items-start", className)}
|
||||
>
|
||||
{!nestLabel ? tooltipLabel : null}
|
||||
<div className="grid gap-1.5">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue