There is a flex-container, which contains 4 elements:
.catalog__items { display: flex; flex-wrap: wrap; } .catalog__items__item { display: flex; flex-direction: column; } <div class="catalog__items"> <div class="catalog__items__item">1товар</div> <div class="catalog__items__item">2товар</div> <div class="catalog__items__item">3товар</div> <div class="catalog__items__item">4товар</div> </div> They are located in the same row, flew-wrap transfers them if the screen is narrowed, first so that they go 3 in a row, and 1 is transferred to line 2, and then as it should, i.e. 2 in a row.
The problem is that I do not know how to do this to remove this state, where only 1 element is transferred. Those. so that at first there were 4 in a row, and then 2 in a row.
Who knows how to do this? Already 5 pages of Google flipped through, everywhere about flex-wrap is written, but it does not give the desired result