Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Render tables as cards on mobile #370

Merged
merged 5 commits into from
Oct 1, 2023
Merged

Render tables as cards on mobile #370

merged 5 commits into from
Oct 1, 2023

Conversation

derekeder
Copy link
Member

Applies card styles for tables in mobile mode as mentioned in datamade/how-to#350

For screens smaller than 768px (xs on Bootstrap 3), table rows are rendered as cards for both meeting agendas and legislative actions:

Meeting agenda:
Screenshot 2023-09-29 at 2 52 01 PM

Screenshot 2023-09-29 at 2 52 14 PM

Legislation action:
Screenshot 2023-09-29 at 2 51 37 PM
Screenshot 2023-09-29 at 2 51 49 PM

This PR also cleans up some redundant css classes and:

@derekeder derekeder changed the title Sept 28 updates Render tables as cards on mobile Sep 29, 2023
@derekeder derekeder requested a review from fgregg September 29, 2023 20:01
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.

2 participants