fix(GoodsAction): incorrect border radius (#2311)

This commit is contained in:
neverland 2019-11-15 11:53:38 +08:00 committed by GitHub
parent 002f26fb3c
commit 53eb32ee9b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 4 deletions

View File

@ -205,6 +205,7 @@
@goods-action-icon-font-size: @font-size-xs;
@goods-action-icon-text-color: @gray-darker;
@goods-action-button-height: 40px;
@goods-action-button-border-radius: @goods-action-button-height / 2;
@goods-action-button-warning-color: @gradient-orange;
@goods-action-button-danger-color: @gradient-red;

View File

@ -14,15 +14,15 @@
&--first {
display: block !important;
margin-left: 5px;
.theme(border-top-left-radius, '@goods-action-button-height / 2') !important;
.theme(border-bottom-left-radius, '@goods-action-button-height / 2') !important;
.theme(border-top-left-radius, '@goods-action-button-border-radius') !important;
.theme(border-bottom-left-radius, '@goods-action-button-border-radius') !important;
}
&--last {
display: block !important;
margin-right: 5px;
.theme(border-top-right-radius, '@goods-action-button-height / 2') !important;
.theme(border-bottom-right-radius, '@goods-action-button-height / 2') !important;
.theme(border-top-right-radius, '@goods-action-button-border-radius') !important;
.theme(border-bottom-right-radius, '@goods-action-button-border-radius') !important;
}
&--warning {