T
30

Just lived through the Monday where our entire component library broke because someone pushed a wildcard CSS selector update

We had 14 team members all pulling changes at 9 AM and by 10:30 everything from buttons to modals was overlapping, so my advice is triple check any global style changes before they hit the main branch, has anyone else had a single line of CSS wreak that much havoc?
2 comments

Log in to join the discussion

Log In
2 Comments
rayc83
rayc835d ago
Had a buddy @cole_mitchell57 whose one line of CSS crashed their whole checkout page. Took three days to find it.
7
cole_mitchell57
Oh man that sounds like absolute chaos! I once spent an entire day debugging why all my hover states were bleeding into each other, turns out it was a single line of CSS that set `box-shadow` on everything with a wildcard. I felt like a total idiot when I finally found it, my coworker had to walk me through the dev tools step by step while I sat there staring at my screen. But hey at least you guys caught it before it hit production, right? I've learned the hard way that even one little typo in a global style can bring down the whole house of cards, it's honestly terrifying how fragile our work can be sometimes.
6