From 090545ffdf8b8f750afb0601a16a7bbac07ff6eb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20Cederstro=CC=88m?= Date: Thu, 28 Mar 2013 11:33:18 +0100 Subject: [PATCH] Make sure form actions are properly aligned with form-horizontal --- docs/assets/css/bootstrap.css | 3 +++ less/forms.less | 5 +++++ 2 files changed, 8 insertions(+) diff --git a/docs/assets/css/bootstrap.css b/docs/assets/css/bootstrap.css index 50d2070015..d096c6c506 100644 --- a/docs/assets/css/bootstrap.css +++ b/docs/assets/css/bootstrap.css @@ -1705,6 +1705,9 @@ select:focus:invalid:focus { .form-horizontal .control-group > .controls { margin-left: 180px; } + .form-horizontal .form-actions { + padding-left: 180px; + } } .btn { diff --git a/less/forms.less b/less/forms.less index 841966bfe9..02aa4242ca 100644 --- a/less/forms.less +++ b/less/forms.less @@ -539,5 +539,10 @@ select:focus:invalid { margin-left: @component-offset-horizontal; } + // Make sure form actions buttons are aligned with controls + .form-actions { + padding-left: @component-offset-horizontal; + } + } }