From 38b18d3d2e14d62a3c036c604ea60041633bd676 Mon Sep 17 00:00:00 2001 From: tangjinzhou <415800467@qq.com> Date: Wed, 18 Jul 2018 09:39:57 +0800 Subject: [PATCH] fix: buttongroup style bug --- components/button/style/mixin.less | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/components/button/style/mixin.less b/components/button/style/mixin.less index 4bbf3abdc..7efa2f48c 100644 --- a/components/button/style/mixin.less +++ b/components/button/style/mixin.less @@ -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;