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

Prevent saved filters menu from overflowing page on page load #5593

Merged
merged 1 commit into from
Mar 13, 2023

Conversation

oliver-stoehr
Copy link
Collaborator

The overlay is hidden on page load but already rendered. It is place right of its anchor element, making it overflow the right edge of the page and creating a horizontal scroll bar.
By defining a large margin-left we can make sure it does not overflow the page when being hidden.
By default it is repositioned by PrimeFaces' javascript when it gets displayed, thus the margin-left has no visible impact on the overlay.

@solth solth merged commit 1b01d99 into kitodo:master Mar 13, 2023
@oliver-stoehr oliver-stoehr deleted the saved-filters-layout branch August 7, 2024 10:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants