[ Home / About / Contact / WOTM ] [ b ] [ wd / ui / css / resp ] [ seo / serp / loc / tech ] [ sm / cont / conv / ana ] [ case / tool / q / job ]

/resp/ - Responsive Design

Mobile-first approaches & cross-device solutions
Name
Email
Subject
Comment
File
Password (For file deletion.)

File: 1796177416006.jpg (24.05 KB, 1024x679, img_1796177408064_8zveqntn.jpg)ImgOps Exif Google Yandex

bbe1b No.2483

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 screen
that'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.


[Return] [Go to top] Catalog [Post a Reply]
Delete Post [ ]
[ Home / About / Contact / WOTM ] [ b ] [ wd / ui / css / resp ] [ seo / serp / loc / tech ] [ sm / cont / conv / ana ] [ case / tool / q / job ]