diff --git a/style/mixins/button.less b/style/mixins/button.less index cc03a34fb3..bf65a1fec9 100644 --- a/style/mixins/button.less +++ b/style/mixins/button.less @@ -253,15 +253,15 @@ padding-left: 8px; } - > & { + & > & { float: left; } - > &:not(:first-child):not(:last-child) > .@{btnClassName} { + & > &:not(:first-child):not(:last-child) > .@{btnClassName} { border-radius: 0; } - > &:first-child:not(:last-child) { + & > &:first-child:not(:last-child) { > .@{btnClassName}:last-child { border-bottom-right-radius: 0; border-top-right-radius: 0; @@ -269,7 +269,7 @@ } } - > &:last-child:not(:first-child) > .@{btnClassName}:first-child { + & > &:last-child:not(:first-child) > .@{btnClassName}:first-child { border-bottom-left-radius: 0; border-top-left-radius: 0; padding-left: 8px;