Set max line length on search bar