Browse Source

Merge pull request #401 from kevyu/master

fix btn-group mixin bug
pull/407/head
simaQ 9 years ago
parent
commit
b35a7a9a15
  1. 8
      style/mixins/button.less

8
style/mixins/button.less

@ -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;

Loading…
Cancel
Save