0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-12-12 00:08:59 +01:00

Merge pull request #18246 from vsn4ik/use-mixin-border-radius

Use border-radius mixin in button-groups.less
This commit is contained in:
Chris Rebert 2015-11-13 17:36:44 -08:00
commit 8248b9e210

View File

@ -173,14 +173,12 @@
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-top-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);
.border-bottom-radius(@btn-border-radius-base);
}
}
.btn-group-vertical > .btn-group:not(:first-child):not(:last-child) > .btn {