Update Leaderboard component styles
All checks were successful
deploy / deploy (push) Successful in 55s
All checks were successful
deploy / deploy (push) Successful in 55s
This commit is contained in:
parent
4981ce5d37
commit
0123541095
@ -127,7 +127,7 @@ export default function Leaderboard({ id, page }: LeaderboardProps) {
|
||||
</div>
|
||||
</Card>
|
||||
<Card className="mt-2 h-fit">
|
||||
<div className="mb-2 mt-2 flex justify-center gap-2">
|
||||
<div className="mb-2 flex justify-center gap-2">
|
||||
{difficulties.map((diff) => {
|
||||
return (
|
||||
<div
|
||||
|
@ -21,7 +21,7 @@ export default function LeaderboardScore({
|
||||
const accuracy = ((score.baseScore / leaderboard.maxScore) * 100).toFixed(2);
|
||||
|
||||
return (
|
||||
<div className="mb-1 mt-1 grid grid-cols-[0.6fr_3fr_1.3fr] first:pt-0 last:pb-0 md:grid-cols-[1.2fr_6fr_1.3fr]">
|
||||
<div className="mb-1 mt-1 grid grid-cols-[0.6fr_3fr_1.3fr] first:pt-0 last:pb-0 md:grid-cols-[1.28fr_6fr_1.3fr]">
|
||||
<div className="flex flex-col items-center justify-center">
|
||||
<div className="flex w-fit flex-row items-center justify-center gap-1">
|
||||
<p>#{formatNumber(score.rank)}</p>
|
||||
|
Loading…
Reference in New Issue
Block a user