W3C home > Mailing lists > Public > public-css-archive@w3.org > July 2019

Re: [csswg-drafts] [css-flexbox] Max flex grow (#4143)

From: Oriol Brufau via GitHub <sysbot+gh@w3.org>
Date: Mon, 29 Jul 2019 14:52:34 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-516025430-1564411953-sysbot+gh@w3.org>
@jonjohnjohnson Instead of using `white-space` to increase the min-content contribution to equal the max-content one, I would replace `auto` with `max-content` in the grid template.

And yes, `minmax(10px, 40px)` is not that useful because of `grid-column: span 3`. With [`sibling-index()`](https://github.com/w3c/csswg-drafts/issues/1869#issuecomment-340078522) we could use something like `grid-column: calc(3 * sibling-index() - 1)`

-- 
GitHub Notification of comment by Loirooriol
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4143#issuecomment-516025430 using your GitHub account
Received on Monday, 29 July 2019 14:52:36 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:50 UTC