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

body class="modal-open" style="padding-right: 15px" #287

Open
ParentsPal opened this issue Feb 6, 2016 · 1 comment
Open

body class="modal-open" style="padding-right: 15px" #287

ParentsPal opened this issue Feb 6, 2016 · 1 comment

Comments

@ParentsPal
Copy link

stumped!

Hello! I am a newer member.
First post.
I was able to work through several issues myself. But this one needs divine intervention -- common sense and logic is failing.

Looking at the changing code live via FF/Inspector, each time the modal dialog opens it adds padding-right: 15px. It is only after the modal closes the page content within ... shifts. Each successive modal dialog opening adds another 15px.

Why -- is there a fix?

@mzakk
Copy link

mzakk commented Feb 15, 2018

Just add a

body.modal-open {
    padding-right: 0px !important;
}

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

2 participants