ipython-contrib / jupyter_contrib_nbextensions

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

[toc2] fix for disappearing sidebar in static html_toc export #1548

Closed aduriseti closed 3 years ago

aduriseti commented 3 years ago

Fix for issue i had w/ static html dumps of notebooks (w/ the toc2 sidebar) - where the table of contents sidebar would disappear (https://github.com/ipython-contrib/jupyter_contrib_nbextensions/issues/1547)

problem was that the sidebar top position was getting set to scroll position, but the css must have set it to a fixed position or something - so it should have been 0

tested my static notebook dump in firefox and chrome -worked in both - also tested the dynamic sidebar in chrome

someone who knows more about the repo should look over this b/c I dont know anything about webdev (or this repo)

also - linked issue: https://github.com/ipython-contrib/jupyter_contrib_nbextensions/issues/1547

juhasch commented 3 years ago

Thank you.