2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-11 18:02:28 +03:00

fixes #4118: responsive modal gets width auto and improved positioning for narrower widths

This commit is contained in:
Mark Otto
2012-07-24 00:44:11 -07:00
parent c37aa99e28
commit 87aa61001e
2 changed files with 22 additions and 10 deletions
+11 -4
View File
@@ -84,6 +84,17 @@
width: auto;
}
// Modals
.modal {
position: fixed;
top: 20px;
left: 20px;
right: 20px;
width: auto;
margin: 0;
&.fade.in { top: auto; }
}
}
@@ -133,13 +144,9 @@
// Modals
.modal {
position: fixed;
top: 10px;
left: 10px;
right: 10px;
width: auto;
margin: 0;
&.fade.in { top: auto; }
}
.modal-header .close {
padding: 10px;