Skip to content

Instantly share code, notes, and snippets.

@texpert
Created November 4, 2016 16:43
Show Gist options
  • Save texpert/ada2821257a9e53077945704cacf699c to your computer and use it in GitHub Desktop.
Save texpert/ada2821257a9e53077945704cacf699c to your computer and use it in GitHub Desktop.
.modal-dialog {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%) !important;
}
@texpert
Copy link
Author

texpert commented Nov 4, 2016

This could be added at the end of application.scss or into a separate stylesheet file.

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