minor: change great divide user stats KDR text color

This commit is contained in:
Index 2024-06-28 10:49:07 -05:00
parent 57e4130ede
commit 2afea6ffb6

View file

@ -159,7 +159,7 @@ chrome.runtime.onMessage.addListener(function (request, sender, sendResponse) {
<i class="fa-solid fa-percent text-center d-inline-block" style="width:1.2em"></i> <i class="fa-solid fa-percent text-center d-inline-block" style="width:1.2em"></i>
Kill Death Ratio Kill Death Ratio
</b> </b>
<span class="float-end"> <span class="float-end ${ (!isNaN(KDR) && KDR > 1) ? 'text-success' : (!isNaN(KDR) && KDR !== 0) ? 'text-danger' : '' }">
${KDR} <i class="fa-solid fa-circle-info" data-bs-toggle="tooltip" data-bs-title="KDR is a user's kills divided by the amount of times they have died. If their KDR is above 1, they are making a positive contribution. If their KDR is less than 1, that means they die more than they kill."></i> ${KDR} <i class="fa-solid fa-circle-info" data-bs-toggle="tooltip" data-bs-title="KDR is a user's kills divided by the amount of times they have died. If their KDR is above 1, they are making a positive contribution. If their KDR is less than 1, that means they die more than they kill."></i>
</span> </span>
</div> </div>