aboutsummaryrefslogtreecommitdiff
path: root/less/button-groups.less
diff options
context:
space:
mode:
authorMatt Smith <[email protected]>2014-12-03 11:44:35 -0500
committerMatt Smith <[email protected]>2014-12-03 11:44:35 -0500
commitdbe47654160d389c6991a312c9cecd2eeb9b6122 (patch)
tree37ff4e2240c0f801ecba46df12a3ab644e128dcb /less/button-groups.less
parentac49a0990689439be471752f6c5ea8a91256ad32 (diff)
downloadbootstrap-dbe47654160d389c6991a312c9cecd2eeb9b6122.tar.xz
bootstrap-dbe47654160d389c6991a312c9cecd2eeb9b6122.zip
Nested button groups with only one child now have rounded corners (Iss.#15270)
Diffstat (limited to 'less/button-groups.less')
-rw-r--r--less/button-groups.less4
1 files changed, 2 insertions, 2 deletions
diff --git a/less/button-groups.less b/less/button-groups.less
index f84febbd5..13c1800de 100644
--- a/less/button-groups.less
+++ b/less/button-groups.less
@@ -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);
}