feat(GoodsActionButton): add new css variable goods-action-line-height (#3037)

fix #3032
This commit is contained in:
rex 2020-04-18 22:59:30 +08:00 committed by GitHub
parent ad30ba60e9
commit 10810e2b45
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -251,6 +251,7 @@
@goods-action-icon-font-size: @font-size-xs;
@goods-action-icon-text-color: @gray-7;
@goods-action-button-height: 40px;
@goods-action-button-line-height: @button-line-height;
@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

@ -12,7 +12,7 @@
);
.theme(--button-danger-background-color, '@goods-action-button-danger-color');
.theme(--button-default-height, '@goods-action-button-height');
.theme(--button-line-height, '@goods-action-button-height');
.theme(--button-line-height, '@goods-action-button-line-height');
.theme(--button-plain-background-color, '@goods-action-button-plain-color');
display: block;