codeforamerica / srtracker

Open311 Service Request Status Site
BSD 3-Clause "New" or "Revised" License
20 stars 23 forks source link

(Small-screen) Long service names overflow and widen the page #33

Closed Mr0grog closed 11 years ago

Mr0grog commented 12 years ago

If the name of a service contains a particularly long word, it can overflow the heading and make the page wider, which is undesirable. We should (a) smartly insert smart hyphens or node breaks where sensible and (b) hide the overflow and show an ellipsis or other indicator of truncated text.

Here's a good example of the issue: http://localhost:5000/requests/12-01478612 (using Chicago's Open311).

Mr0grog commented 11 years ago

Note this isn't really observable anymore since all the service names Chicago is currently exposing are pretty short (also, the issue noted above is no longer accessible).

That said, even though this is not a practical issue today, it should still probably be fixed.