aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2016-02-08 22:34:38 -0800
committerMark Otto <[email protected]>2016-02-08 22:34:38 -0800
commit4b97596982dbbf0cc713c6e92f8a8f9503882385 (patch)
tree3c814ca472d3324c6911469056899bf98588ae4d
parenta40d94000f68b547845df86c1943b433a888a473 (diff)
downloadbootstrap-4b97596982dbbf0cc713c6e92f8a8f9503882385.tar.xz
bootstrap-4b97596982dbbf0cc713c6e92f8a8f9503882385.zip
Fixes #18949: Remove extra margin overrides for buttons in .modal-footer
-rw-r--r--scss/_modal.scss14
1 files changed, 0 insertions, 14 deletions
diff --git a/scss/_modal.scss b/scss/_modal.scss
index 83bb4932b..a18c2ab97 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