fix: buttongroup style bug

pull/77/merge
tangjinzhou 6 years ago
parent 0b249a0baa
commit 38b18d3d2e

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

Loading…
Cancel
Save