Re: [csswg-drafts] [css-grid-2] subgrid and grid-gap

Well, that's the layout you'd get by default with my proposal.  `align-content` stretches by default, so if you just specify `grid-row-gap:0` on the subgrid, this is what you'd get:
![rachel_andrew_subgrid_example-outer-items-gap-0-stretch](https://user-images.githubusercontent.com/4010828/39101172-57ab2c32-4696-11e8-878b-a0f999b1c71f.png)

The problem with that is that the subgrid tracks are now stretched to fill that 60px which might be undesirable, which is why I suggest we enable the author to specify the behavior using `align-content/self` - so you can "pack" the subgrid with `align-content:start` for example. But then it might also be desirable to pack the outer grid, for those tracks, to get rid of that 60px entirely, which is what my "gap negotiation" discussed. I thought you asked for this outer packing to occur by default in your later comment, but I guess I misunderstood.

-- 
GitHub Notification of comment by MatsPalmgren
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2285#issuecomment-383421797 using your GitHub account

Received on Sunday, 22 April 2018 23:49:24 UTC