We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
微信开发工具默认启用了v2,目前我遇到i-button的大小无法正常显示的情况
The text was updated successfully, but these errors were encountered:
改line-height:28px;
Sorry, something went wrong.
并不只有这一个问题。。。v2开启后i-button的width莫名其妙变短了。。。
知道原因了,v2中,有一个多出来的按钮样式,叫button:not([size='mini']),不知道为啥这个样式在 所有样式里优先级最高,这里把按钮样式设置成固定的宽度并且更改了button组件的行高,导致iview的行高和宽度都出现了异常,简单的解决 办法是在app.wxss里面将button样式里面添加width:95% !important;才能修改按钮高度。。太坑了
另外i-button的shape属性也生效不了,原因也是这个,自行在dist/button/index.wxss中的border-radius后面加上!important才行
No branches or pull requests
微信开发工具默认启用了v2,目前我遇到i-button的大小无法正常显示的情况
The text was updated successfully, but these errors were encountered: