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

1.0.0的preview中,button/input与a标签的样式不一致 #462

Closed
yikuo123 opened this issue Sep 26, 2016 · 6 comments
Closed

1.0.0的preview中,button/input与a标签的样式不一致 #462

yikuo123 opened this issue Sep 26, 2016 · 6 comments
Labels

Comments

@yikuo123
Copy link

qq 20160926111324

浏览器:安卓微信内置浏览器

@BearJ BearJ added the bug label Sep 26, 2016
@BearJ
Copy link
Collaborator

BearJ commented Sep 26, 2016

@yikuo123 您好,的确有这个问题,我们下个小版本修复,你可以先用 a标签 或者像下面那样修复一下:
button.weui-form-preview__btn{
background-color: transparent;
border: 0;
outline: 0;
font-size: inherit;
}

@BearJ
Copy link
Collaborator

BearJ commented Sep 26, 2016

现在1.0.1已经fix了哈

@BearJ BearJ closed this as completed Sep 26, 2016
@yikuo123
Copy link
Author

yikuo123 commented Sep 27, 2016

@BearJ 请问cdn什么时候更新
//res.wx.qq.com/open/libs/weui/1.0.1/weui.css

@yikuo123
Copy link
Author

@BearJ 我发现这个问题没有彻底解决。
1.demo中两个按钮的情况,第一个是a,第二个是button,显示正常;如果第一个不是a而是button,高度就有问题
2.如果是input type=button或者submit样式仍然不正确,weui-btn weui-btn_primary样式在这几种情况下都是ok的

@BearJ
Copy link
Collaborator

BearJ commented Oct 24, 2016

@yikuo123 你好,第一个问题的确存在,目前你可以手动加上:button.weui-form-preview__btn{line-height: inherit;;}来修复。第二个问题则更建议用button来实现,input type=button或者submit我们是没有适配样式的。

@BearJ BearJ reopened this Oct 24, 2016
@BearJ
Copy link
Collaborator

BearJ commented Nov 30, 2016

1.1.0 已fixed

@BearJ BearJ closed this as completed Nov 30, 2016
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

2 participants