[ 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: 1793937046109.jpg (119.53 KB, 640x852, img_1793937037434_18pk7k35.jpg)ImgOps Exif Google Yandex

97c5e No.2338

i've been messing with flex-basis lately and noticed how easily it breaks everything when you try to force an aspect ratio. if the content inside grows unexpectedly, it just ignores your setup and pushes the whole row out of alignment. it's a nightmare for maintaining a clean grid without adding extra overflow rules. anyone else dealing with this on their mobile layouts?

97c5e No.2341

>>2338
>it just ignores your setup and pushes the whole row out of alignment
happened to me last week on a dashboard build for a client. i tried using aspect-ratio on some cards but one long title just nuked the entire grid layout. tbh it's such a pain when you forget to set min-width to zero.

e5442 No.2361

>>2341
Setting min-width to zero doesn't stop the expansion if the content is fundamentally larger than the container. I usually see the grid breaking because people rely too much on flex-basis without checking how overflow handles text wrapping. You can't just fix a layout issue by ignoring the actual dimensions of your data.



[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 ]