From 56ac6e1cc443b05c138e18c1999fa9e675b90830 Mon Sep 17 00:00:00 2001 From: drylint <80906525+drylint@users.noreply.github.com> Date: Mon, 23 Aug 2021 11:26:25 +0800 Subject: [PATCH] =?UTF-8?q?perf(radio):=20label=20=E7=9A=84=20margin-left?= =?UTF-8?q?=20=E6=94=B9=E4=B8=BA=20padding-left=EF=BC=8C=E5=A2=9E=E5=A4=A7?= =?UTF-8?q?=E5=8F=AF=E7=82=B9=E5=87=BB=E5=8C=BA=E5=9F=9F=EF=BC=8C=E5=A2=9E?= =?UTF-8?q?=E5=BC=BA=E7=94=A8=E6=88=B7=E4=BD=93=E9=AA=8C=20(#4165)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/checkbox/index.less | 2 +- packages/radio/index.less | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/checkbox/index.less b/packages/checkbox/index.less index 2b667786..d4ad6fa7 100644 --- a/packages/checkbox/index.less +++ b/packages/checkbox/index.less @@ -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 { diff --git a/packages/radio/index.less b/packages/radio/index.less index a0fbcf91..a51c263e 100644 --- a/packages/radio/index.less +++ b/packages/radio/index.less @@ -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');