0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-11-29 11:24:18 +01:00

Making modal work with max width 767px - fixes #4860

This commit is contained in:
Andreas Cederström 2012-09-27 11:44:48 +02:00
parent 24e277b85a
commit ecbb0ed4df
2 changed files with 6 additions and 2 deletions

View File

@ -872,8 +872,11 @@
width: auto;
margin: 0;
}
.modal.fade {
top: -100px;
}
.modal.fade.in {
top: auto;
top: 20px;
}
}

View File

@ -107,7 +107,8 @@
right: 20px;
width: auto;
margin: 0;
&.fade.in { top: auto; }
&.fade { top: -100px; }
&.fade.in { top: 20px; }
}
}