mirror of
https://gitee.com/vant-contrib/vant-weapp.git
synced 2025-04-06 03:58:05 +08:00
[bug fix] Field: 修复圆角输入框,边框显示问题 (#134)
* 修复圆角输入框,是最后一个元素时,不展示边框的问题 * add bower ignore
This commit is contained in:
parent
37cdd28aff
commit
db20736797
@ -17,6 +17,7 @@
|
||||
"node_modules",
|
||||
"packages",
|
||||
"scripts",
|
||||
"website",
|
||||
"postcss.config.js",
|
||||
"package.json",
|
||||
"*.md",
|
||||
|
@ -16,6 +16,11 @@
|
||||
}
|
||||
}
|
||||
|
||||
/* 圆角输入框,强制展示边框 */
|
||||
.zan-field.zan-field--wrapped::after {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.zan-field--wrapped + .zan-field--wrapped {
|
||||
margin-top: 10px;
|
||||
}
|
||||
@ -24,7 +29,7 @@
|
||||
color: #f40;
|
||||
}
|
||||
|
||||
/* 圆角输入框时,将边框也置红 */
|
||||
/* 圆角输入框出现错误时,将边框也置红 */
|
||||
.zan-field--wrapped.zan-field--error::after {
|
||||
border-color: #f40;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user