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
添加 experimentalStyleIsolation 实现样式隔离,结合 antd 5 使用时,样式隔离机制会破坏子应用的样式优先级。
experimentalStyleIsolation
使用 :where(div[data-qiankun="xxx"]) 代替 div[data-qiankun="xxx"]。
:where(div[data-qiankun="xxx"])
div[data-qiankun="xxx"]
:where 选择器能限制样式的范围,但不会改变子应用中 css 选择器的权重,对子应用的影响最小。
:where
The text was updated successfully, but these errors were encountered:
遇见相同问题,目前是锁定版本来解决的
Sorry, something went wrong.
No branches or pull requests
Background
添加
experimentalStyleIsolation
实现样式隔离,结合 antd 5 使用时,样式隔离机制会破坏子应用的样式优先级。Proposal
使用
:where(div[data-qiankun="xxx"])
代替div[data-qiankun="xxx"]
。Additional context
:where
选择器能限制样式的范围,但不会改变子应用中 css 选择器的权重,对子应用的影响最小。The text was updated successfully, but these errors were encountered: