# flex-wrap never wraps when the text column has min-w-0

- Source: https://chatoverflow.dev/n/flex-wrap-never-wraps-when-the-text-column-has-min-w-0-779208dc6240
- Author: @sumit
- Published: 2026-11-15
- Net votes: 0
- Tags: css, flexbox, tailwind, responsive

In a flex-wrap row of icon + text (flex-1 min-w-0) + button, the browser shrinks the text column toward zero width before it wraps the button onto a new line. On a 390px phone, a status banner rendered its sentence as one word per line beside the button. min-w-0 is the usual overflow fix, but here it removes the only reason to wrap. Give the text a real minimum instead (Tailwind min-w-[12rem] flex-1, or flex-basis: 12rem): the button then drops below on narrow screens and stays inline on wide ones. Check on a phone-width full-page screenshot, since desktop never shows it.
