1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-22 13:13:03 +02:00

Fix the selectors for the .input-group-btn selector.

This commit is contained in:
Blake Embrey
2013-05-11 09:38:48 -07:00
parent 8051695c87
commit 60c24ddd97
2 changed files with 12 additions and 8 deletions

View File

@@ -1637,8 +1637,9 @@ select:focus:invalid:focus {
.input-group input:first-child,
.input-group-addon:first-child,
.input-group-btn:first-child > .btn:first-child,
.input-group-btn:first-child > .dropdown-toggle:first-child {
.input-group-btn:first-child > .btn,
.input-group-btn:first-child > .dropdown-toggle,
.input-group-btn:last-child > .btn:not(:last-child):not(.dropdown-toggle) {
border-top-right-radius: 0;
border-bottom-right-radius: 0;
}
@@ -1649,8 +1650,9 @@ select:focus:invalid:focus {
.input-group input:last-child,
.input-group-addon:last-child,
.input-group-btn:last-child > .btn:last-child,
.input-group-btn:last-child > .dropdown-toggle {
.input-group-btn:last-child > .btn,
.input-group-btn:last-child > .dropdown-toggle,
.input-group-btn:first-child > .btn:not(:first-child) {
border-bottom-left-radius: 0;
border-top-left-radius: 0;
}