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

fix overflowing table #83

Open
wants to merge 1 commit into
base: v1.1.x
Choose a base branch
from
Open

Conversation

benji24290
Copy link

If the table exceeds the screen width, the page gets a scroll on the x-axis. This occurs even if a parent container has 'overflow-auto' set. Adding 'position: relative' to the tableContainer resolves this issue. Not only is the scrollbar unappealing, but it also diminishes the user experience, as every date selection causes the viewport to move to the right.
Before (scrollbar on the bottom of the page):
image
After:
image

@pietsch
Copy link

pietsch commented Oct 25, 2023

I applied this fix in Nuudel. It works well and does not seem to have any negative effects on the three major browser families I tested (exemplified in my case by Librewolf, GNOME Web and Ungoogled Chromium on Linux).

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