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

Fix scoped CSS to work with arbitrary outer HTML, not just internal UI lib #75

Open
davezuch opened this issue Jan 31, 2019 · 0 comments

Comments

@davezuch
Copy link
Member

davezuch commented Jan 31, 2019

@thomashoneyman reported on Jira:

I'm attempting to mount components (with their scoped CSS) directly into HTML that has an external stylesheet. Some of our styles now clash, like our resets specific to UI kit.

Expected behavior: I can include cn-tailwind.scoped.css in the Select documentation without it affecting any of the page styles. I can then build a typeahead using the Ocelot styles (working around the parent CSS needed).

Note: If this doesn't seem worth the effort we could just include a small custom stylesheet to write styles for the few example components we need.

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

No branches or pull requests

1 participant