mirror of
https://gitee.com/vant-contrib/vant-weapp.git
synced 2025-04-06 03:58:05 +08:00
perf(radio): label 的 margin-left 改为 padding-left,增大可点击区域,增强用户体验 (#4165)
This commit is contained in:
parent
ae42260a43
commit
56ac6e1cc4
@ -58,7 +58,7 @@
|
||||
&__label {
|
||||
word-wrap: break-word;
|
||||
|
||||
.theme(margin-left, '@checkbox-label-margin');
|
||||
.theme(padding-left, '@checkbox-label-margin');
|
||||
.theme(color, '@checkbox-label-color');
|
||||
|
||||
&--left {
|
||||
|
@ -51,7 +51,7 @@
|
||||
|
||||
&__label {
|
||||
word-wrap: break-word;
|
||||
.theme(margin-left, '@radio-label-margin');
|
||||
.theme(padding-left, '@radio-label-margin');
|
||||
.theme(color, '@radio-label-color');
|
||||
.theme(line-height, '@radio-size');
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user