1
0
Fork 0
mirror of https://github.com/twbs/bootstrap.git synced 2022-11-09 12:25:43 -05:00

Fix up new margins on modals by not setting auto until screen-sm-min

This commit is contained in:
Mark Otto 2013-11-30 11:56:06 -08:00
parent 265118a6a0
commit a52e528d27
4 changed files with 4 additions and 10 deletions

View file

@ -5899,8 +5899,6 @@ button.close {
z-index: 1050;
width: auto;
margin: 10px;
margin-right: auto;
margin-left: auto;
}
.modal-content {
@ -5998,8 +5996,7 @@ button.close {
@media screen and (min-width: 768px) {
.modal-dialog {
width: 600px;
margin-top: 30px;
margin-bottom: 30px;
margin: 30px auto;
}
.modal-content {
-webkit-box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -35,8 +35,6 @@
// Shell div to position the modal with bottom padding
.modal-dialog {
position: relative;
margin-left: auto;
margin-right: auto;
width: auto;
margin: 10px;
z-index: (@zindex-modal-background + 10);
@ -122,8 +120,7 @@
.modal-dialog {
width: 600px;
margin-top: 30px;
margin-bottom: 30px;
margin: 30px auto;
}
.modal-content {
.box-shadow(0 5px 15px rgba(0,0,0,.5));