My grid layout broke on mobile after I used fixed pixel gaps
Set up a nice 3 column product grid with 20px gaps looked perfect on desktop but turned into a mess on my phone items overlapping and shifting weird. Realized I should've used min() or clamp() for the gaps instead of hard pixels. Anyone else had responsive gap issues with CSS Grid?
Wait, you're telling me a single CSS line actually fixed mobile overlap without breaking anything else? @danieljenkins, why do I always find out about these tricks a week late?