been looking at this layout for an hour and it's driving me nuts. i tried to use a standard media query but the component breaks when it's shoved into that narrow sidebar on the dashboard. it doesn't matter how much space the viewport has if the parent is only 300px wide. i finally switched to @container so the cards actually look right regardless of where they live. it's basically
magic for components but setting up the container type everywhere is such a pain in the neck.
.sidebar-container {container-type: inline-size;}it feels like i'm just rewriting all my old media queries anyway. does anyone actually use container queries for anything other than simple card layouts?