fix the height of " table of contents "
parent
328260286c
commit
226544342e
|
@ -38,6 +38,12 @@ $( document ).ready(function() {
|
||||||
|
|
||||||
// add sticky table headers
|
// add sticky table headers
|
||||||
$('table').stickyTableHeaders();
|
$('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) {
|
window.SphinxRtdTheme = (function (jquery) {
|
||||||
|
|
Loading…
Reference in New Issue