Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

调整字体大小后,搜索框样式问题 #606

Closed
heidiwwlu opened this issue Mar 24, 2017 · 1 comment
Closed

调整字体大小后,搜索框样式问题 #606

heidiwwlu opened this issue Mar 24, 2017 · 1 comment
Labels

Comments

@heidiwwlu
Copy link

调整字体大小后,搜索框的icon没有居中

@BearJ BearJ added the bug label Mar 24, 2017
@BearJ
Copy link
Collaborator

BearJ commented Mar 24, 2017

谢谢,这是个bug,目前可以先这样解决:

.weui-search-bar {
    -webkit-text-size-adjust: 100%;
    align-items: center;
}

.weui-search-bar__box .weui-icon-search,
.weui-search-bar__box .weui-icon-clear {
    top: 50%;
    margin-top: -14px;
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants