mirror of
https://github.com/youzan/vant.git
synced 2025-10-20 18:54:24 +00:00
[bug fix] Search: 优化搜索显示 (#191)
This commit is contained in:
@@ -30,7 +30,9 @@
|
||||
&__input {
|
||||
display: block;
|
||||
width: 100%;
|
||||
height: 14px;
|
||||
height: 16px;
|
||||
line-height: 16px;
|
||||
padding: 0;
|
||||
font-size: 14px;
|
||||
color: $gray-darker;
|
||||
border: none;
|
||||
@@ -38,6 +40,13 @@
|
||||
&::placeholder {
|
||||
color: $gray-dark;
|
||||
}
|
||||
|
||||
&::-webkit-search-decoration,
|
||||
&::-webkit-search-cancel-button,
|
||||
&::-webkit-search-results-button,
|
||||
&::-webkit-search-results-decoration {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
&__cancel {
|
||||
@@ -69,4 +78,4 @@
|
||||
transform: translateY(-50%);
|
||||
color: #888;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user