← Back to release summary

Flexbox: min-height: auto applies to nested flex boxes

Category
CSS
Type
New or changed feature
Status
Enabled by default (Chrome 73)
Intent stage
None

Summary

We changed our rendering to match the flexbox specification and other browsers. In previous versions, Chrome did not implement the automatic minimum size for the specific case of a column flexbox containing a flex item that is itself a flexbox. We have now changed this so that such flex items do get the right minimum size. This can cause flex items to not shrink anymore when they used to; to avoid that, set min-height: auto on the flex item.

Standards & signals

View on chromestatus.com