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

CSS Sugarcube styling exclusion zone #28

Open
Goctionni opened this issue Nov 28, 2020 · 0 comments
Open

CSS Sugarcube styling exclusion zone #28

Goctionni opened this issue Nov 28, 2020 · 0 comments

Comments

@Goctionni
Copy link

Problem: When using third party widgets, like a jQuery plugin or a Vue/React App, those typically come with styling that assumes little or no prior global styling, and will generate DOM elements that end up getting undesirable styling from the sugarcube-default styling that exists for things like button, a, input, and the like.

It would be nice to have element-selectors to be prefixed with something like: :not(.sc-nostyle), so that third party widgets and the like could be placed in a div.sc-nostyle avoid avoid sugarcube changing the appearance of the widget (buttons, inputs, etc) inside that div.

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