I have created a codepen to illustrate my problem: https://codepen.io/chasenbettinger/pen/JBozOL
If the row cannot hold the box and thus it moves it to a new row, I am trying to get the size of that box to be the same size as the items on the top row. In other words, I want the responsiveness of flex-grow, but I do not want the div to expand the entire space of the div if it is on a new line. If I didn't use the max-width
property, the two boxes on the bottom would expand the entire size of the div.
Am I approaching this problem the wrong way?