Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Otto <markotto@twitter.com>2012-07-24 11:44:11 +0400
committerMark Otto <markotto@twitter.com>2012-07-24 11:44:11 +0400
commit87aa61001e908857416f8114a892ced7e796c8b9 (patch)
treed90131655d46e395728059071b5d92de39fa1cc8 /less/responsive-767px-max.less
parentc37aa99e2836c333407db9d7d703ff731214f64e (diff)
fixes #4118: responsive modal gets width auto and improved positioning for narrower widths
Diffstat (limited to 'less/responsive-767px-max.less')
-rw-r--r--less/responsive-767px-max.less15
1 files changed, 11 insertions, 4 deletions
diff --git a/less/responsive-767px-max.less b/less/responsive-767px-max.less
index b7fd7454fb..18c96ee0b7 100644
--- a/less/responsive-767px-max.less
+++ b/less/responsive-767px-max.less
@@ -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;