Fixed the search box styling issue found on firefox

Fixed the search box styling issue found on firefox.
Also replace all tabs in the project with spaces.

issue #2759