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

input中的文字对齐问题 #25

Closed
UXplayer opened this issue Jan 16, 2017 · 2 comments
Closed

input中的文字对齐问题 #25

UXplayer opened this issue Jan 16, 2017 · 2 comments

Comments

@UXplayer
Copy link

UXplayer commented Jan 16, 2017

系统默认的css中,input里的文字和普通text在y坐标有很大的偏差;
weui-wxss已经较好的解决了这个问题,在示例demo中非常完美,只是还有一个小瑕疵:
如果一个input表单没有放入weui-cell weui-cell_input这个view中
weui-input中的文字会比weui-label中的低约1rpx
image

ps:能否问个题外话,作者是微信官方团队的人员吗?

@BearJ
Copy link
Collaborator

BearJ commented Jan 18, 2017

@UXplayer 这里是用到flex的居中对齐,这个问题我去看看。
ps:是的

@BearJ
Copy link
Collaborator

BearJ commented Aug 5, 2019

问题解决,已经不需要weui-cell weui-cell_input 两个类名了

@BearJ BearJ closed this as completed Aug 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants