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 .dropdown-menu height and add y-overflow #17

Merged
merged 1 commit into from
Apr 24, 2018
Merged

Fix .dropdown-menu height and add y-overflow #17

merged 1 commit into from
Apr 24, 2018

Conversation

jrRibeiro
Copy link
Contributor

@jrRibeiro jrRibeiro commented Mar 23, 2018

The .dropdown-menu class doesn't take into account a potential higher number of list items.

For example, I'm using (at the moment) more than 100 subscriptions which completely messes up the UI when you open the Subscriptions pop-up in the Clients' page.

To reproduce this problem, just add a considerable amount of subscriptions (or even DCs, which is crazy but I don't know other people's use-cases) and see the UI all messed up with a long Y-scroll.

This Pull Request simply adds a maximum height of 600px (which I think it's a reasonable number considering today's screen resolutions) and an automatic overflow of the y-axis, creating a y-scroll bar.

Cheers 😃

@palourde palourde merged commit fe1141a into sensu:master Apr 24, 2018
@palourde
Copy link
Contributor

Awesome, thank you very much!

@palourde palourde added this to the 1.2.0 milestone Apr 24, 2018
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