Skip to content

Commit

Permalink
style: 修复checkout单行垂直不对齐问题 (baidu#11323)
Browse files Browse the repository at this point in the history
  • Loading branch information
qkiroc authored and allenve committed Dec 12, 2024
1 parent 963f880 commit 05b9dd9
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 05b9dd9

Please sign in to comment.