diff --git a/src/goods-action-button/index.less b/src/goods-action-button/index.less index 1bcc97fa3..e3fcc5bf6 100644 --- a/src/goods-action-button/index.less +++ b/src/goods-action-button/index.less @@ -5,19 +5,16 @@ height: @goods-action-button-height; font-weight: @font-weight-bold; font-size: @font-size-md; - line-height: @goods-action-button-height; border: none; &--first { margin-left: 5px; - border-top-left-radius: @goods-action-button-height / 2; - border-bottom-left-radius: @goods-action-button-height / 2; + border-radius: @border-radius-max 0 0 @border-radius-max; } &--last { margin-right: 5px; - border-top-right-radius: @goods-action-button-height / 2; - border-bottom-right-radius: @goods-action-button-height / 2; + border-radius: 0 @border-radius-max @border-radius-max 0; } &--warning {