You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For example height: 200rpx !important; is a line of valid CSS code and it works in Toutiao. But after uglify it becomes height:200rpx!important; and it won't work.
Not all !important statements fail. To reproduce the bug there are several requirements:
Must use rpx. height:200px!important; is ok and also color:red!important is ok.
Description
For example
height: 200rpx !important;
is a line of valid CSS code and it works in Toutiao. But after uglify it becomesheight:200rpx!important;
and it won't work.Not all
!important
statements fail. To reproduce the bug there are several requirements:rpx
.height:200px!important;
is ok and alsocolor:red!important
is ok.!important
.Reproduct link
https://developer.toutiao.com/ide/minicode/vpNKxu
Reproduct steps
Impact
Some CSS failed on Toutiao.
Temporary solution
We can write a Webpack loader to revert the uglify.
Platforms
The text was updated successfully, but these errors were encountered: