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

子应用样式隔离失效 #1345

Closed
lxly opened this issue Aug 27, 2024 · 3 comments
Closed

子应用样式隔离失效 #1345

lxly opened this issue Aug 27, 2024 · 3 comments
Labels
Need Reproduction 需要复现步骤

Comments

@lxly
Copy link

lxly commented Aug 27, 2024

问题描述

子应用中的样式使用html嵌套时,样式隔离失效

复现步骤

1.子应用设置.content样式,样式如图1

html .content{
  background: #00f;
}

2.子应用设置.content样式,样式如图2

html {
  .content{
    background: #fff
  }
}

上传截图

1 2

复现仓库

https://github.com/lxly/micro-app-bug-demo

环境信息

Copy link

Hello @lxly. In order to facilitate location and troubleshooting, we need you to provide a realistic GitHub repository.
您好 @lxly, 为了方便定位和排查问题,我们需要您提供一个重现实例,请提供一个尽可能精简的 GitHub 仓库地址。

@bailicangdu
Copy link
Member

html是特殊选择器,不做处理

@github-actions github-actions bot closed this as completed Sep 5, 2024
Copy link

github-actions bot commented Sep 5, 2024

Since the issue was labeled with Need Reproduction, but no response in 7 days. This issue will be close. If you have any questions, you can comment and reply.
由于该 issue 被标记为需要可复现步骤,却 7 天未收到回应。现关闭 issue,若有任何问题,可评论回复。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Need Reproduction 需要复现步骤
Projects
None yet
Development

No branches or pull requests

3 participants