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

Prevent CSS conflicts breaking UI #65

Merged
merged 1 commit into from
Mar 22, 2022

Conversation

ralphsaunders
Copy link
Contributor

Renders UI to ShadowDOM elements, preventing external CSS rules interfering with desired import-map UI.

Resolves #63 but also prevents future issues unlike the solution in #64.

Renders UI to ShadowDOM elements, preventing external CSS rules
interferring with desired import-map UI.
Copy link
Member

@joeldenning joeldenning left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I tried this out locally and it appears to work well. Thanks for the contribution, I was expecting switching to shadow dom to be harder.

@joeldenning joeldenning merged commit 62384b1 into single-spa:main Mar 22, 2022
@joeldenning
Copy link
Member

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

buttons in ui can get "bad" styling
2 participants