How do I make the search box more compact?

The search box (dialogue) takes up a lot of space on the screen. Can I make it more compact?