Skip to content

Commit

Permalink
perf: update buttongroup style
Browse files Browse the repository at this point in the history
  • Loading branch information
tangjinzhou committed Jul 20, 2018
1 parent 38b18d3 commit 617cbdc
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions components/button/style/mixin.less
Original file line number Diff line number Diff line change
Expand Up @@ -271,10 +271,10 @@
> span:first-child > .@{btnClassName} {
margin-left: 0;
}
> .@{btnClassName}:first-child:last-child {
> .@{btnClassName}:only-child {
border-radius: @btn-border-radius-base;
}
> span:first-child:last-child > .@{btnClassName} {
> span:only-child > .@{btnClassName} {
border-radius: @btn-border-radius-base;
}

Expand All @@ -291,10 +291,10 @@
}

&-sm {
> .@{btnClassName}:first-child:last-child {
> .@{btnClassName}:only-child {
border-radius: @btn-border-radius-sm;
}
> span:first-child:last-child > .@{btnClassName} {
> span:only-child > .@{btnClassName} {
border-radius: @btn-border-radius-sm;
}
> .@{btnClassName}:first-child:not(:last-child),
Expand Down

0 comments on commit 617cbdc

Please sign in to comment.