W3C home > Mailing lists > Public > public-css-archive@w3.org > December 2020

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

From: Oriol Brufau via GitHub <sysbot+gh@w3.org>
Date: Mon, 21 Dec 2020 11:53:22 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-748935328-1608551601-sysbot+gh@w3.org>
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

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:42:24 UTC