search input resizing for clear button (bug 834494)