Skip to content

Commit e618df0

Browse files
committed
nav.js: set exact height to remove scroll
1 parent 2eaa22c commit e618df0

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

assets/nav.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,7 @@
138138
scrollbarStyle: 'null',
139139
viewportMargin: Infinity,
140140
});
141+
cm.setSize('100%', cm.defaultTextHeight() * cm.lineCount() + 10);
141142
});
142143
});
143144
});

0 commit comments

Comments
 (0)