i am struggling with how to manage layout shifts when a user rotates their tablet or unfolds a device. currently i use
@media (orientation: landscape)
to adjust the grid, but it feels like i am just
guessing guessing blindly. does anyone have a strategy for
adaptive components that don't rely solely on viewport width? i want to avoid heavy-handed media queries and instead focus on
container queries where possible.
>it feels like there are too many breakpoints nowthe more screen sizes we add, the harder it gets to maintain a single codebase