From 56ae9b717cd2d96887104a0322b5b1a363a93259 Mon Sep 17 00:00:00 2001 From: Liam Date: Wed, 23 Oct 2024 08:24:31 +0100 Subject: [PATCH] fix mini ranking for top players --- projects/website/src/components/player/player-info.tsx | 4 ++-- projects/website/src/components/ranking/mini.tsx | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/projects/website/src/components/player/player-info.tsx b/projects/website/src/components/player/player-info.tsx index e910e9e..d1f7032 100644 --- a/projects/website/src/components/player/player-info.tsx +++ b/projects/website/src/components/player/player-info.tsx @@ -46,7 +46,7 @@ export function PlayerInfo({ className={clsx( hoverBrightness ? "transform-gpu transition-all hover:brightness-[66%]" : "", player.id == highlightedPlayer?.id ? "font-bold" : "", - "text-ellipsis w-[140px] overflow-hidden whitespace-nowrap" + "text-ellipsis overflow-hidden whitespace-nowrap" )} style={{ color: getScoreSaberRole(player)?.color, @@ -57,7 +57,7 @@ export function PlayerInfo({ ); return ( -
+
-
+

{formatPp(playerRanking.pp)}pp

{playerRanking.id !== player.id && (

0 ? "text-green-400" : "text-red-400"}`}>