From d66322af648366f25931f8c1c4d9bcb916c4e54f Mon Sep 17 00:00:00 2001 From: qinhaoyan Date: Thu, 5 Dec 2024 15:49:32 +0800 Subject: [PATCH] =?UTF-8?q?style:=20=E4=BF=AE=E5=A4=8Dcheckout=E5=8D=95?= =?UTF-8?q?=E8=A1=8C=E5=9E=82=E7=9B=B4=E4=B8=8D=E5=AF=B9=E9=BD=90=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/amis-ui/scss/_components.scss | 8 ++++---- packages/amis-ui/scss/components/form/_checks.scss | 3 +-- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/packages/amis-ui/scss/_components.scss b/packages/amis-ui/scss/_components.scss index 68fbb3e5c05..aaf82a1c666 100644 --- a/packages/amis-ui/scss/_components.scss +++ b/packages/amis-ui/scss/_components.scss @@ -1907,9 +1907,9 @@ --radio-default-default-distance: var(--sizes-size-5); @include margin( --radio-default-default, - var(--sizes-size-0), - var(--sizes-size-9), var(--sizes-size-4), + var(--sizes-size-9), + var(--sizes-size-0), var(--sizes-size-0) ); @@ -1931,9 +1931,9 @@ @include margin( --radio-default-vertical, - var(--sizes-size-0), - var(--sizes-size-5), var(--sizes-size-4), + var(--sizes-size-5), + var(--sizes-size-0), var(--sizes-size-0) ); diff --git a/packages/amis-ui/scss/components/form/_checks.scss b/packages/amis-ui/scss/components/form/_checks.scss index 9471c12014f..31db1a6dbb9 100644 --- a/packages/amis-ui/scss/components/form/_checks.scss +++ b/packages/amis-ui/scss/components/form/_checks.scss @@ -1,5 +1,5 @@ .#{$ns}Checkbox { - margin: 0 var(--gap-sm) 0 0; + margin: var(--Form-label-paddingTop) var(--gap-sm) 0 0; font-weight: var(--fontWeightNormal); display: inline-block; cursor: pointer; @@ -376,7 +376,6 @@ .#{$ns}CheckboxesControl { .#{$ns}Checkbox { display: block; - margin-bottom: var(--Form-label-paddingTop); } &.is-inline .#{$ns}Checkbox {