T
4

Warning: subgrid broke my layout for 2 days before I figured it out

Last month I was building a product card grid for a shop in Austin. I used subgrid for the first time to align the text rows across 12 cards. Looked great in Firefox but broke completely in Chrome. Turns out Chrome was treating the subgrid parent height differently. I had to set an explicit height on the parent grid item to make it work across browsers. Still not sure if subgrid is ready for production projects. Has anyone else hit this cross-browser mess with subgrid?
2 comments

Log in to join the discussion

Log In
2 Comments
nathanking
Subgrid is just a fancy way to blame your tools for two days of lost sleep.
6
evand65
evand651d ago
Set explicit height on parent items, saved my sanity too.
-1