0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-02-20 17:54:23 +01:00

[v3] Use border-radius mixin in button-groups.less

This commit is contained in:
vsn4ik 2015-11-14 01:16:38 +03:00
parent f14ee8fd44
commit 33315652ae

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 {