Skip to content

Instantly share code, notes, and snippets.

@mrmcwake
Created September 19, 2013 22:39
Show Gist options
  • Save mrmcwake/6630840 to your computer and use it in GitHub Desktop.
Save mrmcwake/6630840 to your computer and use it in GitHub Desktop.
Fix for modal jumping
/* Fix for page jumping on modal open */
body.modal-open {
margin-right: 10px;
main.home {
margin-left: 5px;
& ~ footer {
margin-left: 5px;
}
}
>header {
margin-left: -5px;
}
aside.toolbar.widget {
margin-left: -5px;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment