File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed
src/components/Certification/MyCurrentCertification/CurrentAchivementRate Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -25,13 +25,15 @@ function CurrentAchivementRate({
2525 < div className = "absolute left-[85%] -translate-x-1/2 bottom-0 translate-y-10 w-0 h-0 border-b-[#FDEDE1] border-b-[1.5rem] border-l-[1.3rem] border-r-[1.3rem] border-l-transparent border-r-transparent" />
2626 < div
2727 className = { cls (
28- "relative rounded-l-[1rem] h-full" ,
29- successPercent >= 85 ? "bg-[#37E788]" : " bg-_coral-70" ,
30- successPercent === 100 ? "rounded-r-[1rem]" : ""
28+ "relative rounded-l-[1rem] h-full rounded-[1rem]" ,
29+ successPercent >= 85 ? "bg-[#37E788]" : " bg-_coral-70"
3130 ) }
3231 style = { { width : `${ successPercent } %` } }
3332 >
34- < p className = "text-[1.1rem] font-normal absolute bottom-0 translate-y-9 right-0 translate-x-1/2" >
33+ < p className = "-translate-y-8 right-0 translate-x-1/2 absolute text-[1.1rem] font-medium" >
34+ { successPercent } %
35+ </ p >
36+ < p className = "text-[1.1rem] font-normal absolute bottom-0 translate-y-8 right-0 translate-x-1/2" >
3537 { currentAttempt } /{ totalAttempt }
3638 </ p >
3739 </ div >
You can’t perform that action at this time.
0 commit comments