Change animation to pure zoom with top origin to prevent sliding illusion on tall pages

This commit is contained in:
2026-09-24 22:57:39 +05:30
parent d146055e0d
commit f1dcf1979d
22 changed files with 22 additions and 22 deletions

View File

@@ -89,7 +89,7 @@ export default function AICoachDashboard() {
const currentStreakDays = `${user?.streak_count || (isDemo ? 12 : 1)} d`
return (
<div className="p-6 max-w-6xl mx-auto space-y-8 animate-in fade-in zoom-in-95 slide-in-from-bottom-4 duration-500">
<div className="p-6 max-w-6xl mx-auto space-y-8 animate-in fade-in zoom-in-95 origin-top duration-500">
{/* ── METRICS BAR ── */}
<div className="flex flex-wrap items-center justify-end gap-2 pt-2">