DAE get burned by auto-fit without a minmax cap? A dev in Tampa told me her cards stretched to 600px on a 4K monitor and I felt that in my soul | CSS Grid Tricks - The Design Community Hub
DAE get burned by auto-fit without a minmax cap? A dev in Tampa told me her cards stretched to 600px on a 4K monitor and I felt that in my soul
If you write repeat(auto-fit, minmax(250px, 1fr)) without capping that upper track size, one lonely card will stretch across your whole viewport on a wide screen, so use minmax(250px, 350px) or wrap it in a max-width container, and I'm curious how many of you got hit by this on a real client project before you caught it.