Situation: you have a single line of text in a flex child element. You don't want that text to wrap, you want it truncated with ellipsis (or fall back to just hiding the overflow). But the worst happens. The unthinkable! The layout breaks and forces the entire flex parent element too wide. Flexbox is supposed to be helping make layout easier!
Fortunately, there is a (standardized) solution. You just need to use a non-flexbox property/value to do it.
What we want
Animated GIF showing the text truncating as the flex child gets narrower.
The potential problem
Animated GIF showing the non-wrapping text preventing the flex parent from getting narrower.
... read the whole story at css-tricks.com.