In that second example you have not specified auto for a column
Note that you still have made the mistake of using height (even in demos).
This is what I see on my phone.
Had you used min-height instead the box would have grown to accommodate the text.