Style change

This commit is contained in:
2025-09-18 11:09:24 +02:00
parent 7889c1850e
commit ccf0b4bc22

View File

@@ -38,7 +38,7 @@ function SpeedUHCMasteryStatRow(
const isBest = getSpeedUHCBestMastery(stats) === id const isBest = getSpeedUHCBestMastery(stats) === id
return ( return (
<TableRow className={cn(isBest && "text-mc-light-purple")}> <TableRow className={cn(isBest && "text-mc-light-purple", id === "all" && "font-bold")}>
<TableCell>{modeName}</TableCell> <TableCell>{modeName}</TableCell>
{modeStats.map((v, i) => { {modeStats.map((v, i) => {
return <TableCell key={i}>{formatNumber(v)}</TableCell> return <TableCell key={i}>{formatNumber(v)}</TableCell>
@@ -90,7 +90,7 @@ function SpeedUHCStatRow({ modeId, stats }: { modeId: Parameters<typeof getSpeed
const isBest = getSpeedUHCBestMode(stats) === modeId const isBest = getSpeedUHCBestMode(stats) === modeId
return ( return (
<TableRow className={cn(isBest && "text-mc-light-purple")}> <TableRow className={cn(isBest && "text-mc-light-purple", modeId === "all_modes" && "font-bold")}>
<TableCell>{modeName}</TableCell> <TableCell>{modeName}</TableCell>
{modeStats.map((v, i) => { {modeStats.map((v, i) => {
return <TableCell key={i}>{formatNumber(v)}</TableCell> return <TableCell key={i}>{formatNumber(v)}</TableCell>