ipython-contrib / jupyter_contrib_nbextensions

A collection of various notebook extensions for Jupyter
http://jupyter-contrib-nbextensions.readthedocs.io/en/latest
Other
5.23k stars 806 forks source link

Fix for issue #1461 #1462

Closed luckylsk34 closed 3 years ago

luckylsk34 commented 5 years ago

Fixed the gray background for the notebook-container problem by making the opacity 0. Commented out cell CSS to make it more suitable to the specified theme.

When zenmode it toggled on, the old background is no longer stored and nothing is stored in it anyway, and the same properties are stored in respective properties. When zenmode is toggled off, the image is removed and nothing is changed.

Since we are making notebook-container transparent when toggling zenmode on and not changing it back when toggling zenmode off, this will not completely restore the look of the original theme for some themes where the notebook-container has a different background than the normal background.

juhasch commented 3 years ago

Thank you.