- From: Mats Palmgren via GitHub <sysbot+gh@w3.org>
- Date: Thu, 09 Jan 2020 21:14:17 +0000
- To: public-css-archive@w3.org
A problem with doing the alignment per axis is that if there are items that span 2 or more grid-axis tracks then it's very likely that we'll make items overlap each other. It should work fine when all items are non-spanning though, which I guess is quite common in practice. Still, I think the align-per-axis feature should probably be opt-in to avoid that footgun. So we need an extension to css-align like `justify/align-content: ... || per-track` or something. A few examples to illustrate (grid container's content area is grey, the masonry axis is the block axis):    Alternatively, a new property to control the track- and content-area alignment independently instead of the more limited `per-tracks` keyword:  -- GitHub Notification of comment by MatsPalmgren Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4650#issuecomment-572759148 using your GitHub account
Received on Thursday, 9 January 2020 21:14:21 UTC