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

adds CSS to allow tables to scroll on small screens #648

Open
wants to merge 3 commits into
base: 1.x
Choose a base branch
from

Conversation

markconroy
Copy link
Member

Closes #579

What does this change?

  1. Sets .layout__region and .field--table to max-width: 100%, so they don't overflow with any tables (or other elements)
  2. Sets the .tablefield-wrapper to use overflow-x: auto so if it's too wide, it will have a horizonal scroll.

How to test

  1. Visit /test-subsite-demo-all-components/example-page-tables-and-tabs on a small screen and check that only the table has horizontal scroll, not the whole page.

Thanks to Big Blue Door for sponsoring my time to work on this.

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.

Improve CSS on tables
1 participant