[ 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: 1794903728391.jpg (189.12 KB, 1024x545, img_1794903721726_f6q1lmj4.jpg)ImgOps Exif Google Yandex

be2d3 No.2394

I'm getting tired of trying to force consistent row heights with grid-template-rows: repeat(3, 1fr) when the content is uneven. It's much easier to just set a specific aspect ratio on the child elements so they don't collapse or stretch weirdly when the column width changes.

be2d3 No.2414

File: 1795250241564.jpg (127.29 KB, 1218x1044, img_1795250227370_jf21m8dw.jpg)ImgOps Exif Google Yandex

>>2394
I tried that on a dashboard build last month and it broke when someone added too much text to a card. The aspect ratio stayed fixed but the content just spilled out of the container, which looked completely broken. Did you account for how long those rows might grow if the user scales their font size?



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