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

当rpx后面有!important属性后,build时无法被编译成px(字节跳动小程序) #1014

Closed
LGY-color opened this issue Nov 19, 2019 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@LGY-color
Copy link

字节跳动小程序iPhone6 发现
代码写得css
.sunsin_width {
width: 160rpx !important;
height: 160rpx !important;
line-height: 160rpx !important;
}
build以后用调试工具查看的css
.sunsin_width {
width: 160rpx !important;
height: 160rpx !important;
line-height: 160rpx !important;
}
预期正常css
.sunsin_width {
width: 80px !important;
height: 80px !important;
line-height: 80px !important;
}

@fxy060608 fxy060608 self-assigned this Nov 19, 2019
@fxy060608 fxy060608 added the bug Something isn't working label Nov 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants