Describe the problem
When thebe is loaded, it now loads CSS that clobbers a ton of in-page CSS. For example, see the word "example" in the thebe docs here:
https://thebe.readthedocs.io/en/latest/#examples

In this case, all of the paragraph styling and the styling of the second instance of "examples" is gone.
If you look at the CSS that corresponds to those elements, we are loading a base.css file a bunch of times, that is coming from the JupyterLab UI components:

So it seems like we are loading some JupyterLab CSS that is clobbering the other CSS on the page. We should restrict this to thebe-activated code cells somehow.
Link to your repository or website
https://thebe.readthedocs.io/en/latest/#examples
Steps to reproduce
- Load the latest
thebe on any page with paragraph-level formatting
- Note that the formatting is clobbered
The version of Python you're using
No response
Your operating system
No response
Versions of your packages
No response
Additional context
No response
Describe the problem
When
thebeis loaded, it now loads CSS that clobbers a ton of in-page CSS. For example, see the word "example" in the thebe docs here:https://thebe.readthedocs.io/en/latest/#examples
In this case, all of the paragraph styling and the styling of the second instance of "examples" is gone.
If you look at the CSS that corresponds to those elements, we are loading a
base.cssfile a bunch of times, that is coming from the JupyterLab UI components:So it seems like we are loading some JupyterLab CSS that is clobbering the other CSS on the page. We should restrict this to thebe-activated code cells somehow.
Link to your repository or website
https://thebe.readthedocs.io/en/latest/#examples
Steps to reproduce
thebeon any page with paragraph-level formattingThe version of Python you're using
No response
Your operating system
No response
Versions of your packages
No response
Additional context
No response