perf(radio): label 的 margin-left 改为 padding-left,增大可点击区域,增强用户体验 (#4165)

This commit is contained in:
drylint 2021-08-23 11:26:25 +08:00 committed by GitHub
parent ae42260a43
commit 56ac6e1cc4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -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 {

View File

@ -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');