Skip to content

Commit

Permalink
style: 修复checkout单行垂直不对齐问题
Browse files Browse the repository at this point in the history
  • Loading branch information
qkiroc committed Dec 5, 2024
1 parent c76fb31 commit 9506c64
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
8 changes: 4 additions & 4 deletions packages/amis-ui/scss/_components.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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)
);

Expand All @@ -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)
);

Expand Down
3 changes: 1 addition & 2 deletions packages/amis-ui/scss/components/form/_checks.scss
Original file line number Diff line number Diff line change
@@ -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;
Expand Down Expand Up @@ -376,7 +376,6 @@
.#{$ns}CheckboxesControl {
.#{$ns}Checkbox {
display: block;
margin-bottom: var(--Form-label-paddingTop);
}

&.is-inline .#{$ns}Checkbox {
Expand Down

0 comments on commit 9506c64

Please sign in to comment.