2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-08 17:22:31 +03:00

Nested button groups with only one child now have rounded corners (Iss.#15270)

This commit is contained in:
Matt Smith
2014-12-03 11:44:35 -05:00
parent ac49a09906
commit dbe4765416
9 changed files with 15 additions and 14 deletions
+2 -2
View File
@@ -71,13 +71,13 @@
.btn-group > .btn-group:not(:first-child):not(:last-child) > .btn {
border-radius: 0;
}
.btn-group > .btn-group:first-child {
.btn-group > .btn-group:first-child:not(:last-child) {
> .btn:last-child,
> .dropdown-toggle {
.border-right-radius(0);
}
}
.btn-group > .btn-group:last-child > .btn:first-child {
.btn-group > .btn-group:last-child:not(:first-child) > .btn:first-child {
.border-left-radius(0);
}