File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Expand file tree Collapse file tree 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() {
178178          </ Table > 
179179        </ Card > 
180180        < 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 > 
182184          { achievements . map ( ( achievement )  =>  { 
183185            return  ( 
184186              < Card 
185-                 className = "m-4 p-4  flex justify-between" 
187+                 className = "m-4 p-2  flex justify-between" 
186188                key = { achievement . id } 
187189              > 
188190                < CardHeader > 
189191                  < CardTitle > { achievement . title } </ CardTitle > 
190192                  < CardDescription > { achievement . description } </ CardDescription > 
191193                </ CardHeader > 
192194                { 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 " > 
194196                    { achievement . progress } %
195197                  </ p > 
196198                )  : ( 
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 " > 
198200                    { achievement . progress } %
199201                  </ p > 
200202                ) } 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments