aboutsummaryrefslogtreecommitdiff
path: root/less
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2013-11-30 11:56:06 -0800
committerMark Otto <[email protected]>2013-11-30 11:56:06 -0800
commita52e528d2771e0f150682532b06c0f29fa6b0ad6 (patch)
treefa439c0203ed75ed6ae93b8c2c23b42336e2ea8b /less
parent265118a6a025a34f24e87cdedcaea1684c08565b (diff)
downloadbootstrap-a52e528d2771e0f150682532b06c0f29fa6b0ad6.tar.xz
bootstrap-a52e528d2771e0f150682532b06c0f29fa6b0ad6.zip
Fix up new margins on modals by not setting auto until screen-sm-min
Diffstat (limited to 'less')
-rw-r--r--less/modals.less5
1 files changed, 1 insertions, 4 deletions
diff --git a/less/modals.less b/less/modals.less
index c9feb7f18..e65dbf7f1 100644
--- a/less/modals.less
+++ b/less/modals.less
@@ -35,8 +35,6 @@
// Shell div to position the modal with bottom padding
.modal-dialog {
position: relative;
- margin-left: auto;
- margin-right: auto;
width: auto;
margin: 10px;
z-index: (@zindex-modal-background + 10);
@@ -122,8 +120,7 @@
.modal-dialog {
width: 600px;
- margin-top: 30px;
- margin-bottom: 30px;
+ margin: 30px auto;
}
.modal-content {
.box-shadow(0 5px 15px rgba(0,0,0,.5));