Merge pull request #29 from geekplux/patch

fix the height of " table of contents "
This commit is contained in:
Fabrice Niessen 2015-12-08 20:23:04 +01:00
commit 6451dc6c62
1 changed files with 6 additions and 0 deletions

View File

@ -38,6 +38,12 @@ $( document ).ready(function() {
// add sticky table headers
$('table').stickyTableHeaders();
var $postamble = $('#postamble');
var $tableOfContents = $('#table-of-contents');
// set the height of tableOfContents
$tableOfContents.height($tableOfContents.height() - $postamble.outerHeight());
});
window.SphinxRtdTheme = (function (jquery) {