From a2f4b322f5b9bd01a36a46b904684d531d5e6730 Mon Sep 17 00:00:00 2001 From: dargonc <90550344+dargoncc@users.noreply.github.com> Date: Thu, 18 Jul 2024 16:33:50 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=20textarea=20?= =?UTF-8?q?=E7=BB=84=E4=BB=B6=E5=90=8C=E6=97=B6=E4=BD=BF=E7=94=A8=20auto-h?= =?UTF-8?q?eight=20=E5=92=8C=20no-border=20=E5=B1=9E=E6=80=A7=E6=97=B6?= =?UTF-8?q?=EF=BC=8Cno-border=20=E5=B1=9E=E6=80=A7=E4=B8=8D=E7=94=9F?= =?UTF-8?q?=E6=95=88=20(#448)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/wd-textarea/index.scss | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/uni_modules/wot-design-uni/components/wd-textarea/index.scss b/src/uni_modules/wot-design-uni/components/wd-textarea/index.scss index e332f1e5d..0ca834b0e 100644 --- a/src/uni_modules/wot-design-uni/components/wd-textarea/index.scss +++ b/src/uni_modules/wot-design-uni/components/wd-textarea/index.scss @@ -220,7 +220,7 @@ @include e(placeholder) { color: $-input-placeholder-color; - + &.is-error { color: $-input-error-color; } @@ -268,12 +268,6 @@ } } - @include when(no-border) { - &::after { - display: none; - } - } - @include when(auto-height) { &:not(.is-cell) { padding: 5px 0; @@ -284,6 +278,12 @@ } } + @include when(no-border) { + &::after { + display: none; + } + } + @include when(cell) { display: flex; line-height: $-cell-line-height; @@ -349,4 +349,4 @@ font-size: $-textarea-icon-size-large; } } -} \ No newline at end of file +}