From f2bd7d9f276753a8a2ab27490d06c2a081abb3af Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Fri, 7 Sep 2012 11:10:00 -0700 Subject: [PATCH] fixes #5018: .btn-block in .modal-footer no longer has left margin --- docs/assets/css/bootstrap.css | 4 ++++ less/modals.less | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/docs/assets/css/bootstrap.css b/docs/assets/css/bootstrap.css index cf70b5c354..231d5283be 100644 --- a/docs/assets/css/bootstrap.css +++ b/docs/assets/css/bootstrap.css @@ -4988,6 +4988,10 @@ input[type="submit"].btn.btn-mini { margin-left: -1px; } +.modal-footer .btn-block + .btn-block { + margin-left: 0; +} + .tooltip { position: absolute; z-index: 1030; diff --git a/less/modals.less b/less/modals.less index 81cacb7ab1..a0401c4d11 100644 --- a/less/modals.less +++ b/less/modals.less @@ -95,4 +95,8 @@ .btn-group .btn + .btn { margin-left: -1px; } + // and override it for block buttons as well + .btn-block + .btn-block { + margin-left: 0; + } }