From 7aa9ca0d138342aa7184390cb821f2e898c8d00c Mon Sep 17 00:00:00 2001 From: 2betop <2betop.cn@gmail.com> Date: Thu, 11 Jun 2020 20:23:39 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A0=B7=E5=BC=8F=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scss/components/_input-box.scss | 4 ++++ scss/components/form/_select.scss | 2 ++ 2 files changed, 6 insertions(+) diff --git a/scss/components/_input-box.scss b/scss/components/_input-box.scss index 52942e70..458f797a 100644 --- a/scss/components/_input-box.scss +++ b/scss/components/_input-box.scss @@ -1,6 +1,10 @@ .#{$ns}InputBox { @include input-input(); + &--inline { + display: inline-flex; + } + > input[readonly] { cursor: inherit; } diff --git a/scss/components/form/_select.scss b/scss/components/form/_select.scss index 74a892fa..9ac207f8 100644 --- a/scss/components/form/_select.scss +++ b/scss/components/form/_select.scss @@ -4,6 +4,7 @@ text-align: left; outline: none; position: relative; + font-size: $Form-input-fontSize; border: $Form-select-borderWidth solid $Form-select-borderColor; background: $Form-select-bg; border-radius: $Form-select-borderRadius; @@ -273,6 +274,7 @@ fill: $Form-input-iconColor; width: px2rem(10px); height: px2rem(10px); + top: 0; } &:hover svg {