-
Notifications
You must be signed in to change notification settings - Fork 16
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 can conflict with parent rules #9
Comments
Every CSS class is scoped under Do you mean CSS from this module is effecting other elements or the other way around? |
We can't add |
I would generally agree, especially with the fact that we shouldn't use One possible option would be inline styles, but I understand if that's not a direction we want to go in either. One other possibility may be to make the rules more specific so that the I'm OK with my current work around, because the parent CSS will always be able to create a rule that will break things, but it would obviously be ideal if it wasn't needed. |
The acceptable solution is to prepend all of classes with some specific prefix. For example I don't have the time to do that but will review a pull request if you make one. :) |
With certain parent CSS rules, it is possible to break styling (accidentally).
This can be seen with this Sphinx theme https://github.com/snide/sphinx_rtd_theme.
For example see the template below:
The text was updated successfully, but these errors were encountered: