mysociety / message-manager

Accepts messages from an external source (e.g., an SMS gateway) and offers them up to FixMyStreet-like applications.
Other
5 stars 2 forks source link

truncate boilerplate strings in drop-down menus, because they are too long #145

Closed davewhiteland closed 11 years ago

davewhiteland commented 11 years ago

...which is potentially breaking layout (in FMB this comes up in a popup).

Simplest solution: add ellipsis in the middle of long strings, which would work for now. (Otherwise, display the text in a div which can word-wrap... but that's practically what the text-area does anyway -- so ambiguous strings can still be found if the ellipsis is making them appear the same in the menu)

dracos commented 11 years ago

There is a way for a select to be width constrained more than its contents, would that work?

davewhiteland commented 11 years ago

Yes definitely, this is just about layout :-)

davewhiteland commented 11 years ago

Closed in mysociety/fixmystreet@e4c65814e77d