From 8f0671adfb70a7037dfcecf84e584ae38fc89b27 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Sun, 9 Oct 2011 20:57:38 -0700 Subject: [PATCH] remove bottom margin from form in modals for temp fix" --- bootstrap.css | 5 ++++- bootstrap.min.css | 1 + lib/patterns.less | 3 +++ 3 files changed, 8 insertions(+), 1 deletion(-) diff --git a/bootstrap.css b/bootstrap.css index fb0f5d74ab..176c332e7b 100644 --- a/bootstrap.css +++ b/bootstrap.css @@ -6,7 +6,7 @@ * http://www.apache.org/licenses/LICENSE-2.0 * * Designed and built with all the love in the world @twitter by @mdo and @fat. - * Date: Sat Oct 8 09:21:16 PDT 2011 + * Date: Sun Oct 9 20:57:28 PDT 2011 */ /* Reset.less * Props to Eric Meyer (meyerweb.com) for his CSS reset file. We're using an adapted version here that cuts out some of the reset HTML elements we will never need here (i.e., dfn, samp, etc). @@ -2165,6 +2165,9 @@ button.btn::-moz-focus-inner, input[type=submit].btn::-moz-focus-inner { .modal-body { padding: 15px; } +.modal-body form { + margin-bottom: 0; +} .modal-footer { background-color: #f5f5f5; padding: 14px 15px 15px; diff --git a/bootstrap.min.css b/bootstrap.min.css index 4a7d1bcc20..23c532a7aa 100644 --- a/bootstrap.min.css +++ b/bootstrap.min.css @@ -322,6 +322,7 @@ button.btn::-moz-focus-inner,input[type=submit].btn::-moz-focus-inner{padding:0; .modal.fade.in{top:50%;} .modal-header{border-bottom:1px solid #eee;padding:5px 15px;} .modal-body{padding:15px;} +.modal-body form{margin-bottom:0;} .modal-footer{background-color:#f5f5f5;padding:14px 15px 15px;border-top:1px solid #ddd;-webkit-border-radius:0 0 6px 6px;-moz-border-radius:0 0 6px 6px;border-radius:0 0 6px 6px;-webkit-box-shadow:inset 0 1px 0 #ffffff;-moz-box-shadow:inset 0 1px 0 #ffffff;box-shadow:inset 0 1px 0 #ffffff;zoom:1;margin-bottom:0;}.modal-footer:before,.modal-footer:after{display:table;content:"";zoom:1;*display:inline;} .modal-footer:after{clear:both;} .modal-footer .btn{float:right;margin-left:5px;} diff --git a/lib/patterns.less b/lib/patterns.less index c3a8cf67bd..6d02778b8a 100644 --- a/lib/patterns.less +++ b/lib/patterns.less @@ -833,6 +833,9 @@ input[type=submit].btn { .modal-body { padding: 15px; } +.modal-body form { + margin-bottom: 0; +} .modal-footer { background-color: #f5f5f5; padding: 14px 15px 15px; -- 2.47.3