File tree 1 file changed +6
-4
lines changed
1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -178,23 +178,25 @@ export default function DashboardPage() {
178
178
</ Table >
179
179
</ Card >
180
180
< Card className = "w-[40vw] max-[850px]:w-screen min-[850px]:h-[50vh] mr-4" >
181
- < h2 className = "text-2xl font-bold text-center m-2" > Achievements</ h2 >
181
+ < CardHeader >
182
+ < CardTitle className = "text-center m-2" > Achievements</ CardTitle >
183
+ </ CardHeader >
182
184
{ achievements . map ( ( achievement ) => {
183
185
return (
184
186
< Card
185
- className = "m-4 p-4 flex justify-between"
187
+ className = "m-4 p-2 flex justify-between"
186
188
key = { achievement . id }
187
189
>
188
190
< CardHeader >
189
191
< CardTitle > { achievement . title } </ CardTitle >
190
192
< CardDescription > { achievement . description } </ CardDescription >
191
193
</ CardHeader >
192
194
{ achievement . progress > 50 ? (
193
- < p className = "font-normal text-green-500 mt-auto mb-auto" >
195
+ < p className = "font-normal text-green-500 mt-auto mb-auto mr-2 " >
194
196
{ achievement . progress } %
195
197
</ p >
196
198
) : (
197
- < p className = "font-normal text-yellow-400 mt-auto mb-auto" >
199
+ < p className = "font-normal text-yellow-400 mt-auto mb-auto mr-2 " >
198
200
{ achievement . progress } %
199
201
</ p >
200
202
) }
You can’t perform that action at this time.
0 commit comments