From: Mark Otto Date: Tue, 9 Feb 2016 06:34:38 +0000 (-0800) Subject: Fixes #18949: Remove extra margin overrides for buttons in .modal-footer X-Git-Tag: v4.0.0-alpha.3~254^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4b97596982dbbf0cc713c6e92f8a8f9503882385;p=thirdparty%2Fbootstrap.git Fixes #18949: Remove extra margin overrides for buttons in .modal-footer --- diff --git a/scss/_modal.scss b/scss/_modal.scss index 83bb4932be..a18c2ab971 100644 --- a/scss/_modal.scss +++ b/scss/_modal.scss @@ -101,20 +101,6 @@ text-align: right; // right align buttons border-top: 1px solid $modal-footer-border-color; @include clearfix(); // clear it in case folks use .pull-* classes on buttons - - // Properly space out buttons - .btn + .btn { - margin-bottom: 0; // account for input[type="submit"] which gets the bottom margin like all other inputs - margin-left: 5px; - } - // but override that for button groups - .btn-group .btn + .btn { - margin-left: -1px; - } - // and override it for block buttons as well - .btn-block + .btn-block { - margin-left: 0; - } } // Measure scrollbar width for padding body during modal show/hide