Commit fedce0ce authored by Arnold Daniels's avatar Arnold Daniels

Allow multiple buttons in `.input-prepend` and `.input-append`.

This has a look similar to button groups.
parent d335adf6
...@@ -391,7 +391,7 @@ select:focus:required:invalid { ...@@ -391,7 +391,7 @@ select:focus:required:invalid {
} }
.add-on, .add-on,
.btn { .btn {
.border-radius(3px 0 0 3px); .border-radius(0);
} }
.active { .active {
background-color: lighten(@green, 30); background-color: lighten(@green, 30);
...@@ -403,6 +403,10 @@ select:focus:required:invalid { ...@@ -403,6 +403,10 @@ select:focus:required:invalid {
.btn { .btn {
margin-right: -1px; margin-right: -1px;
} }
.add-on:first-child,
.btn:first-child {
.border-radius(3px 0 0 3px);
}
} }
.input-append { .input-append {
input, input,
...@@ -417,6 +421,9 @@ select:focus:required:invalid { ...@@ -417,6 +421,9 @@ select:focus:required:invalid {
.add-on, .add-on,
.btn { .btn {
margin-left: -1px; margin-left: -1px;
}
.add-on:last-child,
.btn:last-child {
.border-radius(0 3px 3px 0); .border-radius(0 3px 3px 0);
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment