#searchWrapper > input { padding: 1em; margin: 1em 0.5em 1em 0.5em; font-size: 1em; min-width: 0; } #searchWrapper { display: flex } #search { flex-grow: 9; } #sidebar #search { flex-grow: 0; padding: 1em; margin: 0 1em 1em 1em; } #searchResults { overflow-x: scroll; }