2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-11 18:02:28 +03:00

Merge pull request #16684 from kkirsche/patch-2

Fix border-radius not being set on 2 corners of vertical btn group
This commit is contained in:
Mark Otto
2015-11-08 18:13:48 -08:00
+2
View File
@@ -173,11 +173,13 @@
border-radius: 0; border-radius: 0;
} }
&:first-child:not(:last-child) { &:first-child:not(:last-child) {
border-top-left-radius: @btn-border-radius-base;
border-top-right-radius: @btn-border-radius-base; border-top-right-radius: @btn-border-radius-base;
.border-bottom-radius(0); .border-bottom-radius(0);
} }
&:last-child:not(:first-child) { &:last-child:not(:first-child) {
border-bottom-left-radius: @btn-border-radius-base; border-bottom-left-radius: @btn-border-radius-base;
border-bottom-right-radius: @btn-border-radius-base;
.border-top-radius(0); .border-top-radius(0);
} }
} }