aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2012-07-24 00:44:11 -0700
committerMark Otto <[email protected]>2012-07-24 00:44:11 -0700
commit87aa61001e908857416f8114a892ced7e796c8b9 (patch)
treed90131655d46e395728059071b5d92de39fa1cc8 /docs
parentc37aa99e2836c333407db9d7d703ff731214f64e (diff)
downloadbootstrap-87aa61001e908857416f8114a892ced7e796c8b9.tar.xz
bootstrap-87aa61001e908857416f8114a892ced7e796c8b9.zip
fixes #4118: responsive modal gets width auto and improved positioning for narrower widths
Diffstat (limited to 'docs')
-rw-r--r--docs/assets/css/bootstrap-responsive.css17
1 files changed, 11 insertions, 6 deletions
diff --git a/docs/assets/css/bootstrap-responsive.css b/docs/assets/css/bootstrap-responsive.css
index 4d104846b..2590aadf8 100644
--- a/docs/assets/css/bootstrap-responsive.css
+++ b/docs/assets/css/bootstrap-responsive.css
@@ -835,6 +835,17 @@
display: inline-block;
width: auto;
}
+ .modal {
+ position: fixed;
+ top: 20px;
+ right: 20px;
+ left: 20px;
+ width: auto;
+ margin: 0;
+ }
+ .modal.fade.in {
+ top: auto;
+ }
}
@media (max-width: 480px) {
@@ -866,15 +877,9 @@
padding-left: 10px;
}
.modal {
- position: fixed;
top: 10px;
right: 10px;
left: 10px;
- width: auto;
- margin: 0;
- }
- .modal.fade.in {
- top: auto;
}
.modal-header .close {
padding: 10px;