Update LeaderboardSection component: Change text truncation to word breaking for better display of long entries in leaderboard.
All checks were successful
Deploy with Docker Compose / deploy (push) Successful in 4m28s

This commit is contained in:
Julien Froidefond
2025-12-15 09:07:37 +01:00
parent b1925cd904
commit 7dfd426d1f

View File

@@ -103,7 +103,7 @@ export default function LeaderboardSection({
onClick={() => setSelectedEntry(entry)}
>
<span
className={`font-bold text-xs sm:text-sm truncate ${
className={`font-bold text-xs sm:text-sm break-words ${
entry.rank <= 3 ? "text-pixel-gold" : "text-white"
}`}
>