T
10

Was it the CSS update or the browser that broke the grid on our site?

I swear our product grid was perfectly aligned last Thursday. Monday morning I open the site and everything is overlapping like a hot mess. My boss thinks I changed something but I didnt touch a single line of code. Did Chrome push an update that killed our layout? Or did some dependency in our CSS framework auto-update over the weekend? Anyone else deal with this mystery before and figure out which one was the culprit?
2 comments

Log in to join the discussion

Log In
2 Comments
milam42
milam425d ago
Had the same thing happen with our team's site a few months back and it turned out to be a subtle CSS grid auto-update that overwrote our column definitions. Took me two days of digging through git blame to realize nobody actually changed anything.
5
charles_henderson
Heard a talk about this at a local web meetup last spring... the speaker said framework updates are sneaky like that because they'll silently change your default values. They had a case where Tailwind's JIT compiler just dropped some custom grid classes during a minor version bump. Nobody caught it for a week because the site still looked fine on desktop screens.
2