fix: resolve CSS animation conflicts with Tailwind v4

Remove conflicting 'tailwindcss-animate' and downgrade 'tw-animate-css' to compatible version. Manually add necessary animation utilities to globals.css.

Co-authored-by: Simon <85533298+handsomezhuzhu@users.noreply.github.com>
This commit is contained in:
v0
2026-03-07 14:55:34 +00:00
parent 766942e189
commit 8131a79752
4 changed files with 780 additions and 764 deletions

View File

@@ -56,7 +56,7 @@
"recharts": "2.15.4",
"sonner": "^1.7.4",
"tailwind-merge": "^3.3.1",
"tailwindcss-animate": "^1.0.7",
"tailwindcss-animate": "1.0.7",
"vaul": "^1.1.2",
"zod": "3.25.76"
},
@@ -67,7 +67,7 @@
"@types/react-dom": "^19",
"postcss": "^8.5",
"tailwindcss": "^4.1.9",
"tw-animate-css": "1.3.3",
"tw-animate-css": "^1.2.5",
"typescript": "^5"
}
}