I thought container queries were overkill until my sidebar broke on a 1024px screen
I was building a dashboard for a small shop in Tulsa last week and my sidebar kept squishing into a mess of overlapping text every time the viewport hit 1024px, which my media queries never caught because the sidebar was nested inside a flex column. After two hours of banging my head against the wall I swapped the media query for a container query on the card wrapper and it just worked, no extra breakpoints needed. I used to think container queries were a fancy thing for people with too much time on their hands, but now I'm wondering why I ever wrote a media query for a component in the first place. Has anyone else made the switch and run into problems with older browser support?