Skip to content

Commit a2f4b32

Browse files
authored
fix: 修复 textarea 组件同时使用 auto-height 和 no-border 属性时,no-border 属性不生效 (#448)
1 parent ecf03c3 commit a2f4b32

File tree

1 file changed

+8
-8
lines changed
  • src/uni_modules/wot-design-uni/components/wd-textarea

1 file changed

+8
-8
lines changed

src/uni_modules/wot-design-uni/components/wd-textarea/index.scss

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@
220220

221221
@include e(placeholder) {
222222
color: $-input-placeholder-color;
223-
223+
224224
&.is-error {
225225
color: $-input-error-color;
226226
}
@@ -268,12 +268,6 @@
268268
}
269269
}
270270

271-
@include when(no-border) {
272-
&::after {
273-
display: none;
274-
}
275-
}
276-
277271
@include when(auto-height) {
278272
&:not(.is-cell) {
279273
padding: 5px 0;
@@ -284,6 +278,12 @@
284278
}
285279
}
286280

281+
@include when(no-border) {
282+
&::after {
283+
display: none;
284+
}
285+
}
286+
287287
@include when(cell) {
288288
display: flex;
289289
line-height: $-cell-line-height;
@@ -349,4 +349,4 @@
349349
font-size: $-textarea-icon-size-large;
350350
}
351351
}
352-
}
352+
}

0 commit comments

Comments
 (0)