Padding after bootbox is closed #570

Open
Kappyh opened this Issue Dec 28, 2016 · 2 comments

Projects

None yet

2 participants

@Kappyh
Kappyh commented Dec 28, 2016

Hi,

When I call a bootboox alert or confirm in my body appear a "style="padding-right: 15px;" automatically and this not disappear after a I close the bootbox alert/confirm.

Sorry for bad english, but basically bootbox give for a body element one padding-right(with 15px) nonexistent in my css.

@tiesont
Collaborator
tiesont commented Dec 29, 2016

This is actually being added by the Bootstrap modal plugin itself, to account for the overlay temporarily "hiding" the scrollbar. What version of Bootstrap are you using? I think this was a monkey patch that's since been removed, if I recall correctly.

@Kappyh
Kappyh commented Dec 29, 2016

I see...
So I'm using Bootstrap 3.3.7 and Bootbox 4.4.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment