Skip to content

Commit

Permalink
ランキングページで現在のユーザーを示すスタイルを変更し、UUIDの強調表示の色を青から白に変更しました。
Browse files Browse the repository at this point in the history
  • Loading branch information
takoyakidath committed Jan 31, 2025
1 parent 1d8231c commit 9f4d82d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/rankings.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export default function Rankings() {
<div style={{ flex: 1, padding: '8px' }}>{index + 1}</div>
<div style={{ flex: 2, padding: '8px' }}>
{player.uuid}
{player.uuid === myUUID && <span style={{ marginLeft: '8px', color: 'blue' }}>←You</span>}
{player.uuid === myUUID && <span style={{ marginLeft: '8px', color: 'white' }}>←You</span>}
</div>
<div style={{ flex: 1, padding: '8px' }}>{player.wins}</div>
</div>
Expand Down

0 comments on commit 9f4d82d

Please sign in to comment.