feat(GoodsActionButton): increase height (#4461)

This commit is contained in:
neverland 2019-09-17 10:39:05 +08:00 committed by GitHub
parent d4335d26af
commit 71941c9816
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 4 deletions

View File

@ -2,16 +2,16 @@
.van-goods-action-button { .van-goods-action-button {
flex: 1; flex: 1;
height: 36px; height: @goods-action-button-height;
font-weight: 500; font-weight: 500;
font-size: @font-size-md; font-size: @font-size-md;
line-height: 34px; line-height: normal;
border: none; border: none;
&--first { &--first {
margin-left: 5px; margin-left: 5px;
border-top-left-radius: 18px; border-top-left-radius: @goods-action-button-height / 2;
border-bottom-left-radius: 18px; border-bottom-left-radius: @goods-action-button-height / 2;
} }
&--last { &--last {

View File

@ -296,6 +296,7 @@
@goods-action-icon-font-size: @font-size-xs; @goods-action-icon-font-size: @font-size-xs;
@goods-action-icon-active-color: @active-color; @goods-action-icon-active-color: @active-color;
@goods-action-icon-text-color: @gray-darker; @goods-action-icon-text-color: @gray-darker;
@goods-action-button-height: 40px;
// IndexAnchor // IndexAnchor
@index-anchor-padding: 0 @padding-md; @index-anchor-padding: 0 @padding-md;