mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-06-02 16:04:07 +03:00
Fixes #7511: add support for nested button groups so you can use dropdowns in your button groups
This commit is contained in:
@@ -73,6 +73,21 @@
|
||||
.border-right-radius(@border-radius-large);
|
||||
}
|
||||
|
||||
// Custom edits for including btn-groups within btn-groups (useful for including dropdown buttons within a btn-group)
|
||||
.btn-group > .btn-group {
|
||||
float: left;
|
||||
}
|
||||
.btn-group > .btn-group > .btn {
|
||||
border-radius: 0;
|
||||
}
|
||||
.btn-group > .btn-group:last-child > .btn {
|
||||
.border-right-radius(@border-radius-base);
|
||||
}
|
||||
.btn-group > .btn-group:first-child > .btn {
|
||||
margin-left: 0;
|
||||
.border-left-radius(@border-radius-base);
|
||||
}
|
||||
|
||||
// On active and open, don't show outline
|
||||
.btn-group .dropdown-toggle:active,
|
||||
.btn-group.open .dropdown-toggle {
|
||||
|
||||
Reference in New Issue
Block a user