Skip to content

Commit

Permalink
fix(GoodsActionButton): fix style error in single action button
Browse files Browse the repository at this point in the history
  • Loading branch information
rex-zsd committed Mar 2, 2020
1 parent 9f8fe59 commit 544f9d1
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion packages/goods-action-button/index.less
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,10 @@
}

.van-goods-action-button {
.theme(--button-warning-background-color, '@goods-action-button-warning-color');
.theme(
--button-warning-background-color,
'@goods-action-button-warning-color'
);
.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');
Expand All @@ -33,6 +36,10 @@
);
}

&--first&--last {
.theme(--button-border-radius, '@goods-action-button-border-radius');
}

&--plain {
--button-border-width: @button-border-width;
}
Expand Down

0 comments on commit 544f9d1

Please sign in to comment.