From fedce0cec70a56713f95d36585f9e3adaad2c332 Mon Sep 17 00:00:00 2001 From: Arnold Daniels Date: Thu, 5 Apr 2012 23:08:32 +0300 Subject: [PATCH] Allow multiple buttons in `.input-prepend` and `.input-append`. This has a look similar to button groups. --- less/forms.less | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/less/forms.less b/less/forms.less index 8d9c253083..1da8d7500f 100644 --- a/less/forms.less +++ b/less/forms.less @@ -391,7 +391,7 @@ select:focus:required:invalid { } .add-on, .btn { - .border-radius(3px 0 0 3px); + .border-radius(0); } .active { background-color: lighten(@green, 30); @@ -403,6 +403,10 @@ select:focus:required:invalid { .btn { margin-right: -1px; } + .add-on:first-child, + .btn:first-child { + .border-radius(3px 0 0 3px); + } } .input-append { input, @@ -417,6 +421,9 @@ select:focus:required:invalid { .add-on, .btn { margin-left: -1px; + } + .add-on:last-child, + .btn:last-child { .border-radius(0 3px 3px 0); } }