- From: Nils Binder via GitHub <sysbot+gh@w3.org>
- Date: Thu, 13 Jun 2024 14:06:48 +0000
- To: public-css-archive@w3.org
enbee81 has just created a new issue for https://github.com/w3c/csswg-drafts: == Feature Request: Collapsing Gaps for Grid Columns with auto or minmax(auto, 1fr) == When dealing with grid columns that have a width of `auto` or a min-auto width defined within `minmax()`, such as `minmax(auto, 1fr)`, it would be beneficial to have an option for collapsing gaps. **Proposed Feature:** Collapsing gaps should function similarly to collapsing margins, where adjacent gaps with an empty column in between would collapse into a single gap. **Example Scenario:** Consider the following example: [CodePen Example](https://codepen.io/enbee81/pen/KKLyXwv?editors=1100) In this example, an image is optional. When the image is missing, the current behavior results in a 4rem gap instead of the desired 2rem gap. Collapsing gaps would address this issue, ensuring the layout remains consistent and visually appealing even when certain elements are not present. Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/10442 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Thursday, 13 June 2024 14:06:49 UTC