Skip to content

Commit

Permalink
fix: 修复 textarea 组件同时使用 auto-height 和 no-border 属性时,no-border 属性不生效 (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
dargoncc authored Jul 18, 2024
1 parent ecf03c3 commit a2f4b32
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/uni_modules/wot-design-uni/components/wd-textarea/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@

@include e(placeholder) {
color: $-input-placeholder-color;

&.is-error {
color: $-input-error-color;
}
Expand Down Expand Up @@ -268,12 +268,6 @@
}
}

@include when(no-border) {
&::after {
display: none;
}
}

@include when(auto-height) {
&:not(.is-cell) {
padding: 5px 0;
Expand All @@ -284,6 +278,12 @@
}
}

@include when(no-border) {
&::after {
display: none;
}
}

@include when(cell) {
display: flex;
line-height: $-cell-line-height;
Expand Down Expand Up @@ -349,4 +349,4 @@
font-size: $-textarea-icon-size-large;
}
}
}
}

0 comments on commit a2f4b32

Please sign in to comment.