]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Fixes #18949: Remove extra margin overrides for buttons in .modal-footer
authorMark Otto <markdotto@gmail.com>
Tue, 9 Feb 2016 06:34:38 +0000 (22:34 -0800)
committerMark Otto <markdotto@gmail.com>
Tue, 9 Feb 2016 06:34:38 +0000 (22:34 -0800)
scss/_modal.scss

index 83bb4932be2dff4a9a61bd781871407ee741725d..a18c2ab97141306e8d4a3d98b35fbbdc33a25bfb 100644 (file)
   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