fix: buttongroup style bug

pull/165/head
tangjinzhou 2018-07-18 09:39:57 +08:00
parent 321918461d
commit c9c53bab04
1 changed files with 12 additions and 0 deletions

View File

@ -271,6 +271,12 @@
> span:first-child > .@{btnClassName} {
margin-left: 0;
}
> .@{btnClassName}:first-child:last-child {
border-radius: @btn-border-radius-base;
}
> span:first-child:last-child > .@{btnClassName} {
border-radius: @btn-border-radius-base;
}
> .@{btnClassName}:first-child:not(:last-child),
> span:first-child:not(:last-child) > .@{btnClassName} {
@ -285,6 +291,12 @@
}
&-sm {
> .@{btnClassName}:first-child:last-child {
border-radius: @btn-border-radius-sm;
}
> span:first-child:last-child > .@{btnClassName} {
border-radius: @btn-border-radius-sm;
}
> .@{btnClassName}:first-child:not(:last-child),
> span:first-child:not(:last-child) > .@{btnClassName} {
border-bottom-left-radius: @btn-border-radius-sm;