8
Spent 4 hours fighting a CSS grid that wouldn't center on mobile
Turns out I forgot a 'max-width' on the parent container and it was stretching past the viewport. Anyone else waste a whole afternoon on something that dumb?
3 comments
Log in to join the discussion
Log In3 Comments
sandragrant1mo ago
Spent a whole Tuesday debugging a flexbox gap issue once. Turned out I had a typo in the property name. Wrote "gap" instead of "gap" - same word, still wrong.
6
dakota_miller931mo ago
Gap" instead of "gap" is the kind of bug that makes you question your own sanity, I heard someone say that's the worst kind of CSS typo.
7
alext521mo ago
Yeah honestly I used to think that was overblown but now I get it.
5