jschr/bootstrap-modal

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

ParentsPal opened this issue · 1 comments

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 commented

Just add a

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