Fix layout for search results to use available space.