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
All checks were successful
Deploy with Docker Compose / deploy (push) Successful in 4m28s
This commit is contained in:
@@ -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"
|
||||
}`}
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user