File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -65,7 +65,7 @@ export default function AdminStatisticsSection({ data }: AdminsStatisticsProps)
6565 < Card
6666 key = { stat . label }
6767 dir = { dir }
68- className = { cn ( 'group relative w-full animate-fade-in rounded-md transition-all duration-300 hover:shadow-lg ' ) }
68+ className = { cn ( 'group relative w-full animate-fade-in overflow-hidden rounded-md transition-all duration-500 ' ) }
6969 style = { {
7070 animationDuration : '600ms' ,
7171 animationDelay : `${ ( idx + 1 ) * 100 } ms` ,
@@ -79,18 +79,17 @@ export default function AdminStatisticsSection({ data }: AdminsStatisticsProps)
7979 'group-hover:opacity-100' ,
8080 ) }
8181 />
82- < CardTitle className = "relative z-10 flex items-center justify-between gap-x-4 p-5 " >
82+ < CardTitle className = "relative z-10 flex items-center justify-between gap-x-4 px-4 py-6 " >
8383 < div className = "flex items-center gap-x-4" >
84- { React . createElement ( stat . icon , { className : 'h-6 w-6 ' } ) }
84+ { React . createElement ( stat . icon , { className : 'h-5 w-5 ' } ) }
8585 < span > { stat . label } </ span >
8686 </ div >
8787 < span
8888 className = { cn (
89- 'mx-2 text-3xl font-bold transition-all duration-500' ,
89+ 'mx-2 text-3xl transition-all duration-500' ,
9090 isIncreased [ stat . key ] ? 'animate-zoom-out' : ''
9191 ) }
9292 style = { { animationDuration : '400ms' } }
93- dir = "ltr"
9493 >
9594 < CountUp end = { stat . value } />
9695 </ span >
You can’t perform that action at this time.
0 commit comments