Regression: allow text wrapping outside .overlay-header-container

This was messing up the message in the search overlay saying that no
pages with a given title were found.

Change-Id: I6707f06af9e50ebd6cf43b9a7f5e97c2307f4cff