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

html overflow property #214

Open
Firegarden opened this issue Mar 28, 2017 · 1 comment
Open

html overflow property #214

Firegarden opened this issue Mar 28, 2017 · 1 comment

Comments

@Firegarden
Copy link

I am wondering if it's possible to use the css modal without having to set the overflow property on the html element. The reason is because I don't control the webpage and I need to make sure the css that I add does not disrupt the existing components on the site.

Can you clarify if you know for certain that setting the html overflow property on the html element could not break other elements on the page? If not is it possible to change this to another container element?

html {
overflow-y: scroll;

Thank you

@Firegarden
Copy link
Author

I wonder if this speaks to the issue? https://css-tricks.com/snippets/css/force-vertical-scrollbar/ Specifically it suggests body { height: 100%; margin-bottom: 1px; }

It would really help me if I could understand why the html overflow-y scroll is included in modal css?

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

No branches or pull requests

1 participant