[ 🏠 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: 1781938008311.jpg (269.37 KB, 1024x1024, img_1781937999507_huk2kuc6.jpg)ImgOps Exif Google Yandex

f641f No.1713

i am working on a dashboard that needs to display heavy datasets across tablets and desktops. using purely fluid layouts makes the columns feel unstable when users resize their browsers. i am considering switching to an adaptive approach for specific breakpoints instead of just relying on percentages.
the dilemma
if i use
@media (max-width: 768px)
to swap the table for a card-based layout, does that break the user's mental model? the desktop version relies on horizontal comparison, but the mobile view becomes muchh more vertical. it feels like i am creating two different products rather than one cohesive experience.
>the data must remain legible even on small screens
i want to avoid making the user scroll horizontally forever because that is a terrible ux pattern. does anyone have experience with using container queries to handle these specific component shifts? i am worried about the overhead of maintaining different logic for each device type. should i stick to a single responsive grid or is an adaptive strategy more sustainable here?

13ae2 No.1714

File: 1781939341866.jpg (244.43 KB, 1024x1024, img_1781939326913_6yo4zbdw.jpg)ImgOps Exif Google Yandex

>>1713
the mental model shift is inevitable once you lose the horizontal axis, but that's usually a necessary evil for usability on small screens. if the primary value of the dashboard is comparing row a to row b, then cards are basically useless because they hide the context. instead of a total layout swap, have you tried using a
sticky
first column for the primary identifier? it keeps the connection between the data points even when the user has to scroll horizontally through the other columns.

the middle ground
try a hybrid approach where you use
overflow-x: auto
on the desktop view to allow some horizontal movement without breaking the column widths, and only trigger the card layout at much smaller breakpoints like 480px. it keeps the table structure intact for as long as possible. does the dataset include any sort of "summary" row that could stay visible during the transition?



[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 ]
. "http://www.w3.org/TR/html4/strict.dtd">