Stop putting fixed widths on your flex children, it's breaking everything
I keep seeing people hardcode widths like 320px on flex items and then wonder why their layout blows up at 340px viewport. Flexbox already does the math for you, so use flex: 1 1 0 or flex-basis: 0 and let the browser split the space. Happened to me on a three-column card grid last week where setting flex: 1 1 320px looked fine until my phone test showed overflow on a 375px screen. The fix was one line, flex: 1 1 0, and it worked down to 280px without a single media query. If you want a max size, put max-width on the child, not width inside the flex shorthand. Anyone else got a trick for keeping flex kids from shrinking past their content?