Prevent horizontal scrolling on edit profile page

This removes an explicit width from legend titles, which made horizontal
scrolling necessary at some resolutions on the edit profile page.