Fix the html order, so that the search field can resize responsively.