Reputation: 2245
I have observed when bootstrap dialog opens, body tag of html gets following css.
<body class="modal-open" style="padding-right: 17px;">
I think this is causing the UI to shake. How can I get rid of this weird behavior. I have created fiddle. But this issue is not produced there. But in my local environment I am able to reproduce this. JSFiddle
Upvotes: 6
Views: 1698
Reputation: 2245
I fixed issue by
body.modal-open {
padding-right: 0px !important;
overflow-y: auto;
}
Upvotes: 1
Reputation: 16311
Just add this to your css:
.modal-open {
padding-right: 0px !important;
}
Upvotes: 3