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 {