Clamp the max width of the search bar.