From ac7f571e536f4a6d5ee28fba50810d84e4dc1403 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Sun, 11 Mar 2012 22:28:37 -0700 Subject: enable button groups in modal-footer by removing 5px added margin between .btn --- docs/assets/bootstrap.zip | Bin 55402 -> 55416 bytes docs/assets/css/bootstrap.css | 3 +++ less/modals.less | 4 ++++ 3 files changed, 7 insertions(+) diff --git a/docs/assets/bootstrap.zip b/docs/assets/bootstrap.zip index c92cbb787..1b149b002 100644 Binary files a/docs/assets/bootstrap.zip and b/docs/assets/bootstrap.zip differ diff --git a/docs/assets/css/bootstrap.css b/docs/assets/css/bootstrap.css index a0a18e896..b1490bae8 100644 --- a/docs/assets/css/bootstrap.css +++ b/docs/assets/css/bootstrap.css @@ -3323,6 +3323,9 @@ input[type="submit"].btn.btn-small { margin-left: 5px; margin-bottom: 0; } +.modal-footer .btn-group .btn + .btn { + margin-left: -1px; +} .tooltip { position: absolute; z-index: 1020; diff --git a/less/modals.less b/less/modals.less index b6f71ffff..4fccea738 100644 --- a/less/modals.less +++ b/less/modals.less @@ -83,4 +83,8 @@ margin-left: 5px; margin-bottom: 0; // account for input[type="submit"] which gets the bottom margin like all other inputs } + // but override that for button groups + .btn-group .btn + .btn { + margin-left: -1px; + } } -- cgit v1.2.3