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

.modal-open class offsetting body unnecessarily by 15px #10063

Closed
brod-ie opened this issue Aug 23, 2013 · 1 comment
Closed

.modal-open class offsetting body unnecessarily by 15px #10063

brod-ie opened this issue Aug 23, 2013 · 1 comment
Labels

Comments

@brod-ie
Copy link

brod-ie commented Aug 23, 2013

body.modal-open,
.modal-open .navbar-fixed-top,
.modal-open .navbar-fixed-bottom {
    margin-right: 15px;
    margin-right: 0: // fix
}

In my individual use case, and over on the (getbootstrap.com)[http://getbootstrap.com/javascript/#modals] docs, the above CSS is causing an unnecessary margin change on body and fixed nav bars. Removing it or setting it to 0 fixes the issue.

@cvrebert
Copy link
Collaborator

Duplicate of #9855. Please search next time.

@twbs twbs locked and limited conversation to collaborators Mar 7, 2015
@cvrebert cvrebert added the js label Mar 10, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants