aboutsummaryrefslogtreecommitdiff
path: root/less/button-groups.less
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2015-11-08 18:13:48 -0800
committerMark Otto <[email protected]>2015-11-08 18:13:48 -0800
commitef8bc288902fc3e5f0b8b5745a3a30e0fab22f76 (patch)
tree4148d774a17accb445db29aea766d017f2c70c7b /less/button-groups.less
parent857d9d688f614078121e675acb382146df6b1676 (diff)
parent5387ed62b6e5710835fce86b91b6c52c5a17b73a (diff)
downloadbootstrap-ef8bc288902fc3e5f0b8b5745a3a30e0fab22f76.tar.xz
bootstrap-ef8bc288902fc3e5f0b8b5745a3a30e0fab22f76.zip
Merge pull request #16684 from kkirsche/patch-2
Fix border-radius not being set on 2 corners of vertical btn group
Diffstat (limited to 'less/button-groups.less')
-rw-r--r--less/button-groups.less2
1 files changed, 2 insertions, 0 deletions
diff --git a/less/button-groups.less b/less/button-groups.less
index 6a0c5a865..4f37c6b41 100644
--- a/less/button-groups.less
+++ b/less/button-groups.less
@@ -173,11 +173,13 @@
border-radius: 0;
}
&:first-child:not(:last-child) {
+ border-top-left-radius: @btn-border-radius-base;
border-top-right-radius: @btn-border-radius-base;
.border-bottom-radius(0);
}
&:last-child:not(:first-child) {
border-bottom-left-radius: @btn-border-radius-base;
+ border-bottom-right-radius: @btn-border-radius-base;
.border-top-radius(0);
}
}