Skip to content
This repository was archived by the owner on Nov 20, 2025. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants