diff options
| author | Mark Otto <[email protected]> | 2012-11-04 19:08:02 -0800 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2012-11-04 19:08:02 -0800 |
| commit | 7e6cc0bf7ec795189dc14e6b27ffd25940081c71 (patch) | |
| tree | 2f6eda44f4c6978fdadca376baa42c7c18d619d3 /less/forms.less | |
| parent | 51f293ba4c84d1a45a102e5904b42a34474cda29 (diff) | |
| download | bootstrap-7e6cc0bf7ec795189dc14e6b27ffd25940081c71.tar.xz bootstrap-7e6cc0bf7ec795189dc14e6b27ffd25940081c71.zip | |
Fixes #5785: allow for segmented button groups in input groups
Diffstat (limited to 'less/forms.less')
| -rw-r--r-- | less/forms.less | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/less/forms.less b/less/forms.less index 0f3f425ed..739b40d11 100644 --- a/less/forms.less +++ b/less/forms.less @@ -462,7 +462,8 @@ select:focus:required:invalid { border: 1px solid #ccc; } .add-on, - .btn { + .btn, + .btn-group > .dropdown-toggle { vertical-align: top; .border-radius(0); } @@ -489,7 +490,7 @@ select:focus:required:invalid { select, .uneditable-input { .border-radius(@inputBorderRadius 0 0 @inputBorderRadius); - + .btn-group .btn { + + .btn-group .btn:last-child { .border-radius(0 @inputBorderRadius @inputBorderRadius 0); } } @@ -499,7 +500,8 @@ select:focus:required:invalid { margin-left: -1px; } .add-on:last-child, - .btn:last-child { + .btn:last-child, + .btn-group:last-child > .dropdown-toggle { .border-radius(0 @inputBorderRadius @inputBorderRadius 0); } } |
