Shorten large input fields so they don't get cut off