- From: Devon Govett via GitHub <sysbot+gh@w3.org>
- Date: Tue, 30 Jan 2024 16:44:18 +0000
- To: public-css-archive@w3.org
Would be amazing to make some progress on this. I've found it really difficult to use CSS grid for complex layouts with optional slots because the gaps between columns/rows do not collapse when the adjacent column/row is otherwise unused. Usually we have to go back to using manual margins on children so that when they are not there the gaps collapse, but this has other problems that were originally solved by gaps. Another solution is to not use grid at all and to use flex instead, but this requires additional DOM wrappers that can be hard to insert in the right places (especially with responsive layouts where children move to different slots depending on the screen size). What is missing for this to be discussed? I think the above proposal for `gap-collapse` would work. The behavior would be to merge multiple adjacent gaps into a single one, similar to what `border-collapse` does in tables. -- GitHub Notification of comment by devongovett Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/5813#issuecomment-1917460766 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Tuesday, 30 January 2024 16:44:20 UTC