Leaderboard improvements (#1424)

## Description:

1. Made leaderboard smaller
2. replaced show top 5/show all with a +/- to save space
3. show leaderboard by default on larger screens

<img width="458" height="393" alt="Screenshot 2025-07-13 at 5 27 10 PM"
src="https://github.com/user-attachments/assets/c18c732b-8b1e-4b71-89aa-b807ceb91e30"
/>

## Please complete the following:

- [x] I have added screenshots for all UI updates
- [x] I process any text displayed to the user through translateText()
and I've added it to the en.json file
- [x] I have added relevant tests to the test directory
- [x] I confirm I have thoroughly tested these changes and take full
responsibility for any bugs introduced
- [x] I understand that submitting code with bugs that could have been
caught through manual testing blocks releases and new features for all
contributors

## Please put your Discord username so you can be contacted if a bug or
regression is found:

evan
This commit is contained in:
evanpelle
2025-07-13 17:48:04 -07:00
committed by GitHub
parent 5fbeb4d64e
commit da8aeedd8b
3 changed files with 36 additions and 41 deletions
+1 -3
View File
@@ -432,9 +432,7 @@
"team": "Team",
"owned": "Owned",
"gold": "Gold",
"troops": "Troops",
"show_top_5": "Show Top 5",
"show_all": "Show All"
"troops": "Troops"
},
"player_info_overlay": {
"type": "Type",