- From: Mattias Hällkvist via GitHub <sysbot+gh@w3.org>
- Date: Wed, 22 May 2024 15:53:52 +0000
- To: public-css-archive@w3.org
emattias has just created a new issue for https://github.com/w3c/csswg-drafts: == [css-grid] respect `justify-content: center` even when column width is fluid and has max-width using `auto-fit/fill` == To my knowledge you can't make css grid respect `justify-content: center` and also keep the fluid width and has max-width when using `repeat(auto-fit/fill)`. See [this codepen](https://codepen.io/emattias/pen/pombyvW). In the first grid the columns are left aligned. I would like them to be centered like in the second grid (since `justify-content: center` is set on the container). This might be related to this issue: https://github.com/w3c/csswg-drafts/issues/2611 Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/10358 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 22 May 2024 15:53:53 UTC