mirror of
https://gitee.com/vant-contrib/vant-weapp.git
synced 2025-04-06 03:58:05 +08:00
fix(GoodsAction): incorrect border radius (#2311)
This commit is contained in:
parent
002f26fb3c
commit
53eb32ee9b
@ -205,6 +205,7 @@
|
|||||||
@goods-action-icon-font-size: @font-size-xs;
|
@goods-action-icon-font-size: @font-size-xs;
|
||||||
@goods-action-icon-text-color: @gray-darker;
|
@goods-action-icon-text-color: @gray-darker;
|
||||||
@goods-action-button-height: 40px;
|
@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-warning-color: @gradient-orange;
|
||||||
@goods-action-button-danger-color: @gradient-red;
|
@goods-action-button-danger-color: @gradient-red;
|
||||||
|
|
||||||
|
@ -14,15 +14,15 @@
|
|||||||
&--first {
|
&--first {
|
||||||
display: block !important;
|
display: block !important;
|
||||||
margin-left: 5px;
|
margin-left: 5px;
|
||||||
.theme(border-top-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-height / 2') !important;
|
.theme(border-bottom-left-radius, '@goods-action-button-border-radius') !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
&--last {
|
&--last {
|
||||||
display: block !important;
|
display: block !important;
|
||||||
margin-right: 5px;
|
margin-right: 5px;
|
||||||
.theme(border-top-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-height / 2') !important;
|
.theme(border-bottom-right-radius, '@goods-action-button-border-radius') !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
&--warning {
|
&--warning {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user