aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Cederstròˆm <[email protected]>2012-09-27 11:44:48 +0200
committerAndreas Cederstròˆm <[email protected]>2012-09-27 11:46:54 +0200
commitecbb0ed4df3975d473e3c3558db322e26c6620ae (patch)
tree6b1bbb406d9599ad1e80ca47ac6a8f42ec08eddd
parent24e277b85abace0f77076b1cfa96e11b1d1dc891 (diff)
downloadbootstrap-ecbb0ed4df3975d473e3c3558db322e26c6620ae.tar.xz
bootstrap-ecbb0ed4df3975d473e3c3558db322e26c6620ae.zip
Making modal work with max width 767px - fixes #4860
-rw-r--r--docs/assets/css/bootstrap-responsive.css5
-rw-r--r--less/responsive-767px-max.less3
2 files changed, 6 insertions, 2 deletions
diff --git a/docs/assets/css/bootstrap-responsive.css b/docs/assets/css/bootstrap-responsive.css
index f1efde190..5320eadf8 100644
--- a/docs/assets/css/bootstrap-responsive.css
+++ b/docs/assets/css/bootstrap-responsive.css
@@ -872,8 +872,11 @@
width: auto;
margin: 0;
}
+ .modal.fade {
+ top: -100px;
+ }
.modal.fade.in {
- top: auto;
+ top: 20px;
}
}
diff --git a/less/responsive-767px-max.less b/less/responsive-767px-max.less
index 45ce4ebc7..1d5c1239c 100644
--- a/less/responsive-767px-max.less
+++ b/less/responsive-767px-max.less
@@ -107,7 +107,8 @@
right: 20px;
width: auto;
margin: 0;
- &.fade.in { top: auto; }
+ &.fade { top: -100px; }
+ &.fade.in { top: 20px; }
}
}