stravid/slotcars — pull request #205 by DominikGuzei (2012-06-02 13:07:55+00:00)
Title: Bug/linebreaks in highscores

This PR adds advanced handling of long and obscure track titles in the user highscores table

* Adds an 25 character ellipsis -> so each track title gets max 22 characters + "..." at the end
* Wraps the track title in a div with overflow hidden for fucked up track titles like "SUPERAWESOME TRACK TITLE ALL IN CAPITALS" -> even these names don't generate line breaks anymore. However, since the capital letters are so big the ellipsis is also not visible anymore.