From f905ad23b32b3e8759585b10956a4fe92979025c Mon Sep 17 00:00:00 2001 From: qkiroc <30946345+qkiroc@users.noreply.github.com> Date: Tue, 22 Aug 2023 17:36:27 +0800 Subject: [PATCH] =?UTF-8?q?styles:=20=E4=BF=AE=E5=A4=8D=E9=80=89=E6=8B=A9?= =?UTF-8?q?=E6=A1=86=E4=B8=8D=E5=B1=85=E4=B8=AD=E9=97=AE=E9=A2=98=20(#7909?= =?UTF-8?q?)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: qinhaoyan <30946345+qinhaoyan@users.noreply.github.com> --- packages/amis-ui/scss/components/form/_checks.scss | 2 +- packages/amis-ui/scss/components/form/_select.scss | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/amis-ui/scss/components/form/_checks.scss b/packages/amis-ui/scss/components/form/_checks.scss index ac2708375..a4f44adc4 100644 --- a/packages/amis-ui/scss/components/form/_checks.scss +++ b/packages/amis-ui/scss/components/form/_checks.scss @@ -27,7 +27,7 @@ line-height: 1; background: var(--Checkbox-gb); display: inline-block; - vertical-align: middle; + vertical-align: text-bottom; position: relative; pointer-events: all; diff --git a/packages/amis-ui/scss/components/form/_select.scss b/packages/amis-ui/scss/components/form/_select.scss index c9c253aa8..0a686e75c 100644 --- a/packages/amis-ui/scss/components/form/_select.scss +++ b/packages/amis-ui/scss/components/form/_select.scss @@ -303,7 +303,6 @@ overflow: auto; user-select: none; .#{$ns}Checkbox--sm > i { - margin-top: px2rem(-3px); margin-right: px2rem(4px); } &.is-mobile {