change some color stuff
All checks were successful
Deploy Website / docker (ubuntu-latest) (push) Successful in 2m34s
All checks were successful
Deploy Website / docker (ubuntu-latest) (push) Successful in 2m34s
This commit is contained in:
@ -104,7 +104,7 @@ export default function Mini({ type, player, shouldUpdate }: MiniProps) {
|
||||
<PlayerInfo player={playerRanking} highlightedPlayer={player} hideCountryFlag hoverBrightness={false} />
|
||||
</div>
|
||||
<div className="inline-flex min-w-[11.5em] gap-2 items-center">
|
||||
<p className="text-pp text-right">{formatPp(playerRanking.pp)}pp</p>
|
||||
<p className="text-ssr text-right">{formatPp(playerRanking.pp)}pp</p>
|
||||
{playerRanking.id !== player.id && (
|
||||
<p className={`text-xs text-right ${ppDifference > 0 ? "text-green-400" : "text-red-400"}`}>
|
||||
{ppDifference > 0 ? "+" : ""}
|
||||
|
@ -28,7 +28,7 @@ export function PlayerRanking({ player, isCountry }: PlayerRankingProps) {
|
||||
<td className="flex items-center gap-2 px-4 py-2">
|
||||
<PlayerInfo player={player} highlightedPlayer={claimedPlayer} />
|
||||
</td>
|
||||
<td className="px-4 py-2 text-pp text-center">{formatPp(player.pp)}pp</td>
|
||||
<td className="px-4 py-2 text-ssr text-center">{formatPp(player.pp)}pp</td>
|
||||
<td className="px-4 py-2 text-center">{formatNumberWithCommas(player.scoreStats.totalPlayCount)}</td>
|
||||
<td className="px-4 py-2 text-center">{formatNumberWithCommas(player.scoreStats.rankedPlayCount)}</td>
|
||||
<td className="px-4 py-2 text-center">{player.scoreStats.averageRankedAccuracy.toFixed(2) + "%"}</td>
|
||||
|
Reference in New Issue
Block a user