mirror of
https://github.com/Tencent/weui.git
synced 2026-03-13 08:02:03 +08:00
fix 调整字体大小后,搜索框的icon没有居中 #606
This commit is contained in:
@@ -5,6 +5,8 @@
|
||||
display: flex;
|
||||
box-sizing: border-box;
|
||||
background-color: #EFEFF4;
|
||||
-webkit-text-size-adjust: 100%;
|
||||
align-items: center;
|
||||
&:before {
|
||||
.setTopLine(#D7D6DC);
|
||||
}
|
||||
@@ -62,14 +64,16 @@
|
||||
}
|
||||
.weui-icon-search {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 10px;
|
||||
top: 0;
|
||||
margin-top: -14px;
|
||||
line-height: 28px;
|
||||
}
|
||||
.weui-icon-clear {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
top: 50%;
|
||||
right: 0;
|
||||
margin-top: -14px;
|
||||
padding: 0 10px;
|
||||
line-height: 28px;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user