From b1dcf36263ae7a19197f2c162e67f220dd171047 Mon Sep 17 00:00:00 2001 From: chenjiahan Date: Tue, 5 May 2020 12:42:34 +0800 Subject: [PATCH] style(GoodsActionButton): improve test size adjust --- src/goods-action-button/index.less | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) 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 {