Re: [csswg-drafts] [css-flexbox][css-overflow]Where is the relationship between flexbox and overflow defined? (#5812)

That would be https://drafts.csswg.org/css-flexbox-1/#min-size-auto

> To provide a more reasonable default minimum size for flex items, the used value of a main axis automatic minimum size on a flex item that is not a scroll container is a content-based minimum size; for scroll containers the automatic minimum size is zero, as usual.

The `overflow` property defines whether the flex item will be a scroll container.
You can also use `min-height: 0` if you don't want the automatic minimum size, but don't want to turn the flex item into a scroll container.

-- 
GitHub Notification of comment by Loirooriol
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/5812#issuecomment-748935328 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Monday, 21 December 2020 11:53:24 UTC