Replies: 1 comment 1 reply
-
Well, you can easily break the notebook stuff when you somehow inject CSS, so I guess we are not managing it well 😉 When I needed to fix things like this, I frequently ended up asking in the upstream project to be less "aggressive" and more specific in their CCS stuff or, alternatively, forking it. I am not a web dev either, so I might be missing new stuff that solves this problem, hopefully? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Over the past month we have had two cases of an issue that occurs when importing rich
javascript
objects as code-cell outputs into the website. In both cases it broke the theme rendering of thejupyter-book
for bothsphinx-book-theme
andquantecon-book-theme
.One of the packages was:
pyLDAvis
In this case the output overwrote some
css
andsvg
styles. So inquantecon-book-theme
it has incompletesvg
icons and changed somestyles
, insphinx-book-theme
it changed somecode-cell
styles to make thecode-cells
extra wide for the entire documenthttps://60d2cb5b8a1c969372850ccc--nervous-villani-f8256d.netlify.app/applications/working_with_text.html#topic=0&lambda=1&term=
Question:
Not a
web
developer, so thought I would ask the community if there is a way we can wrap these objects in a container of some kind so any styles introduced by them don't interact with the theme. I wonder howjupyter notebook
handles this?Beta Was this translation helpful? Give feedback.
All reactions