We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1e844bf commit 73df97cCopy full SHA for 73df97c
src/jupyter_contrib_nbextensions/nbextensions/toc2/toc2.js
@@ -14,7 +14,9 @@
14
15
// globally-used status variables:
16
var rendering_toc_cell = false;
17
- var oldTocSize = {height: '200px', width: '200px'};
+ // oldTocSize also becomes the default size for a floating toc in a
18
+ // non-live notebook
19
+ var oldTocSize = {height: 'calc(100% - 180px)', width: '200px'};
20
21
try {
22
// this will work in a live notebook because nbextensions & custom.js
0 commit comments