mirror of
https://gitee.com/wot-design-uni/wot-design-uni.git
synced 2025-12-06 17:18:40 +08:00
fix: 修复 textarea 组件同时使用 auto-height 和 no-border 属性时,no-border 属性不生效 (#448)
This commit is contained in:
parent
ecf03c3807
commit
a2f4b322f5
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user