Skip to content

Make the dashboard case grid responsive on mobile#44

Open
eshankiyer wants to merge 1 commit into
BodyMaps:mainfrom
eshankiyer:patch-3
Open

Make the dashboard case grid responsive on mobile#44
eshankiyer wants to merge 1 commit into
BodyMaps:mainfrom
eshankiyer:patch-3

Conversation

@eshankiyer

Copy link
Copy Markdown

The dashboard's case-card grid was hardcoded to four equal columns (gridTemplateColumns: repeat(4, 1fr)), so on a phone every card is squeezed to about a quarter of the screen width and the previews become unreadable.

This switches it to repeat(auto-fill, minmax(240px, 1fr)), so the grid keeps four columns at desktop width and reflows down to two columns and then one as the screen narrows. Same auto-fill/minmax pattern the team page already uses.

One-line change, desktop layout unchanged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant