diff options
| author | Andreas Cederstròˆm <[email protected]> | 2013-03-28 11:33:18 +0100 |
|---|---|---|
| committer | Andreas Cederstròˆm <[email protected]> | 2013-03-28 11:33:18 +0100 |
| commit | 090545ffdf8b8f750afb0601a16a7bbac07ff6eb (patch) | |
| tree | 07f42084b83e9878babbb47de71acb0b9c550199 | |
| parent | 6696ff5d927fd2d584ddc226521b89fc8b9882eb (diff) | |
| download | bootstrap-090545ffdf8b8f750afb0601a16a7bbac07ff6eb.tar.xz bootstrap-090545ffdf8b8f750afb0601a16a7bbac07ff6eb.zip | |
Make sure form actions are properly aligned with form-horizontal
| -rw-r--r-- | docs/assets/css/bootstrap.css | 3 | ||||
| -rw-r--r-- | less/forms.less | 5 |
2 files changed, 8 insertions, 0 deletions
diff --git a/docs/assets/css/bootstrap.css b/docs/assets/css/bootstrap.css index 50d207001..d096c6c50 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 841966bfe..02aa4242c 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; + } + } } |
