File tree 1 file changed +7
-7
lines changed
client/app/components/Cards
1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -49,17 +49,17 @@ const ElectionMini = ({
49
49
{ electionInfo [ 2 ] }
50
50
</ h3 >
51
51
< motion . div
52
- whileHover = { { scale : 1.05 } }
53
- className = { `px-3 py-1 text-xs font-semibold rounded-full ${
54
- electionStat === 3
55
- ? "bg-gray-100 text-gray-800"
52
+ whileHover = { { scale : 1.1 } }
53
+ className = { `px-4 py-1.5 text-sm font-semibold rounded-full shadow-md transition-all duration-200 ${ electionStat === 3
54
+ ? "bg-gray-200 text-gray-900"
56
55
: electionStat === 2
57
- ? "bg-green-100 text-green-800 "
58
- : "bg-yellow-100 text-yellow-800 "
59
- } `}
56
+ ? "bg-green-200 text-green-900 "
57
+ : "bg-red-200 text-red-900 "
58
+ } `}
60
59
>
61
60
{ ElectionStatus [ electionStat ] }
62
61
</ motion . div >
62
+
63
63
</ div >
64
64
< p className = "text-sm text-gray-600 line-clamp-3 mb-4" >
65
65
{ electionInfo [ 3 ] }
You can’t perform that action at this time.
0 commit comments