Task: dynamically sized query input box width

Instead of having a fixed width input box for entering the query text,
we have the box scale according to the screen size, like the rest of the
layout. [ci skip]