mirror of
https://gitee.com/vant-contrib/vant-weapp.git
synced 2025-04-06 03:58:05 +08:00
fix(GoodsActionButton): fix style error in single action button (#2808)
fix #2786
This commit is contained in:
parent
9f8fe59650
commit
bf287502e4
@ -6,7 +6,10 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.van-goods-action-button {
|
.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-danger-background-color, '@goods-action-button-danger-color');
|
||||||
.theme(--button-default-height, '@goods-action-button-height');
|
.theme(--button-default-height, '@goods-action-button-height');
|
||||||
.theme(--button-line-height, '@goods-action-button-height');
|
.theme(--button-line-height, '@goods-action-button-height');
|
||||||
@ -33,6 +36,10 @@
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
&--first&--last {
|
||||||
|
.theme(--button-border-radius, '@goods-action-button-border-radius');
|
||||||
|
}
|
||||||
|
|
||||||
&--plain {
|
&--plain {
|
||||||
--button-border-width: @button-border-width;
|
--button-border-width: @button-border-width;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user