fix btn-group mixin bug

This commit is contained in:
Haibin Yu 2015-10-15 23:36:48 +08:00
parent 3faa1535db
commit 469231c5e7

View File

@ -253,15 +253,15 @@
padding-left: 8px;
}
> & {
& > & {
float: left;
}
> &:not(:first-child):not(:last-child) > .@{btnClassName} {
& > &:not(:first-child):not(:last-child) > .@{btnClassName} {
border-radius: 0;
}
> &:first-child:not(:last-child) {
& > &:first-child:not(:last-child) {
> .@{btnClassName}:last-child {
border-bottom-right-radius: 0;
border-top-right-radius: 0;
@ -269,7 +269,7 @@
}
}
> &:last-child:not(:first-child) > .@{btnClassName}:first-child {
& > &:last-child:not(:first-child) > .@{btnClassName}:first-child {
border-bottom-left-radius: 0;
border-top-left-radius: 0;
padding-left: 8px;