When the wrapper is on, it replaces the abbreviation, so when there is a condition that will lead to the abbreviation, it wraps instead - until there is only one element in the line, and if it is even more than the container, then it will be abbreviated.
So, you need to set the flex-basis for all blocks to the minimum size that should be before the block. Note. A box will never shrink further than its minimum content width , which means you can set flex-basis to 0 , and it will correspond to the minimum width of the contents of each window.
Then, if you want the boxes to expand to fill the available space, use the flex-grow property (the first value in flex ) to control the relative amount by which each should grow.
source share