diff --git a/src/components/Certification/MyCurrentCertification/CurrentAchivementRate/CurrentAchivementRate.tsx b/src/components/Certification/MyCurrentCertification/CurrentAchivementRate/CurrentAchivementRate.tsx index be9adc6a..c987f721 100644 --- a/src/components/Certification/MyCurrentCertification/CurrentAchivementRate/CurrentAchivementRate.tsx +++ b/src/components/Certification/MyCurrentCertification/CurrentAchivementRate/CurrentAchivementRate.tsx @@ -25,13 +25,15 @@ function CurrentAchivementRate({
= 85 ? "bg-[#37E788]" : " bg-_coral-70", - successPercent === 100 ? "rounded-r-[1rem]" : "" + "relative rounded-l-[1rem] h-full rounded-[1rem]", + successPercent >= 85 ? "bg-[#37E788]" : " bg-_coral-70" )} style={{ width: `${successPercent}%` }} > -

+

+ {successPercent}% +

+

{currentAttempt}/{totalAttempt}