client wants everything to scale perfectly so they keep using max-width on every wrapper. it's a nightmare when you actually have to deal with sidebars or complex layouts on tablets. im seeing way too many devs forget about the actual overflow behavior of the parent.
>everything should just shrink to fit the screenthat's how you end up with broken horizontal scrolling and weird white space gaps on certain aspect ratios. if you don't use a more granular approach with flex or grid, you're just waiting for a layout bug to hit. i've seen people try to fix it with:
.container {max-width: 100vw;overflow-x: hidden;}it's a
garbage bandaid that hides the real problem. you should be looking at the specific component constraints instead of just slapping global limits on everything.