.search-row { border: 1px solid $border-color; border-radius: $border-radius; display: flex; padding: 2px; input { border: 0; } input + input { margin-left: 2px; } input[type='text'], input[type='search'] { flex-grow: 1; } }