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

Add container to all table.gp-table to make them scroll horizontally when needed #1826

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

webdados
Copy link

@webdados webdados commented Apr 4, 2024

Problem

See #1825

Solution

This PR adds a DIV around all TABLE.gp-table to make them scroll horizontally whenever they do not fit on the viewport width, thus avoiding an horizontal scroll on all the page.

To-do

  • Wrap tables around a container
  • Create responsive CSS rules to narrow the table size on lower resolutions (without creating legibility problems) and try to avoid the container scroll whenever possible

Testing Instructions

  1. Go to any page with a table
  2. Resize your screen horizontally until you get a horizontal scroll bar around the table (and not the all viewport)

Screenshots or screencast

image

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.

None yet

1 participant