-
Notifications
You must be signed in to change notification settings - Fork 576
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
部分antd样式没被隔离,也就是没加上前缀 #854
Labels
Comments
这块antd有什么特殊的吗,是哪个antd组件? |
没特殊,antd": "^5.4.0" |
:where这种伪类建议子应用自己加css权重,覆盖父应用样式 |
把 umijs 的 antd 插件去掉,就不会引入 reset.css 了。算是一个解决办法吧 |
感觉可能是因为现有的样式隔离没有处理css-in-js的情况,只处理了打包引入css,比如reset.css,这样在开启了样式隔离的情况下,反而导致了reset的样式的优先级高于了:where的实际样式? |
是的。帮忙可以提供一个精简的代码仓库,然后上传到自己的 github。我后面看看把这块兼容下 |
这个问题现在的版本有解决吗?我升级到了最新版也会出现reset.scss样式权重高于element plus样式的问题 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
问题描述
复现步骤
上传截图
复现仓库
环境信息
The text was updated successfully, but these errors were encountered: