Style change
This commit is contained in:
@@ -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>
|
||||||
|
|||||||
Reference in New Issue
Block a user