perf: update buttongroup style

pull/77/merge
tangjinzhou 2018-07-20 10:25:33 +08:00
parent 38b18d3d2e
commit 617cbdccd0
1 changed files with 4 additions and 4 deletions

View File

@ -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;
}
@ -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),