fix: buttongroup style bug

This commit is contained in:
tangjinzhou 2018-07-18 09:39:57 +08:00
parent 0b249a0baa
commit 38b18d3d2e

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;