We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 09ef52e commit f210902Copy full SHA for f210902
source/js/src/utils.js
@@ -320,8 +320,10 @@ $(document).ready(function () {
320
321
// Initialize Sidebar & TOC Width.
322
var scrollbarWidth = NexT.utils.getScrollbarWidth();
323
- if ($('.sidebar-panel').height() > (document.body.clientHeight - NexT.utils.getSidebarSchemePadding())) {
+ if ($('.site-overview-wrap').height() > (document.body.clientHeight - NexT.utils.getSidebarSchemePadding())) {
324
$('.site-overview').css('width', 'calc(100% + ' + scrollbarWidth + 'px)');
325
+ }
326
+ if ($('.post-toc-wrap').height() > (document.body.clientHeight - NexT.utils.getSidebarSchemePadding())) {
327
$('.post-toc').css('width', 'calc(100% + ' + scrollbarWidth + 'px)');
328
}
329
0 commit comments