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

Scoped CSS Leaks into host page #8

Open
danielbonnell opened this issue May 5, 2015 · 0 comments
Open

Scoped CSS Leaks into host page #8

danielbonnell opened this issue May 5, 2015 · 0 comments

Comments

@danielbonnell
Copy link

I'm having a strange issue where by I scope a div that serves as a container for an embedded widget. When I load the widget over AJAX and render it with jQuery inside the div, the host page takes on a few of the characteristics of the widget - in my case, the font size/color changes for all the text, including links, to match the widget, yet other elements are unaffected.

My situation is a bit similar to Issue #5 because I am loading content over AJAX. I'm also using Cleanslate.css to sanitize the div before I pop in the content for the widget.

Some other considerations that may be helpful: I am preloading a few stylesheets inside the widget before it's sent over to the client, though I am not using @import.

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