From 246f1952116a63d1f2f3b6fafeab932a2099ff78 Mon Sep 17 00:00:00 2001 From: razvanaldea89 Date: Tue, 19 Feb 2019 10:46:35 +0200 Subject: [PATCH] #675 page length for bs4 ~ still needs some testing --- build/js/custom.js | 10 ++++++---- production/fixed_sidebar.html | 2 +- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/build/js/custom.js b/build/js/custom.js index 52190f3e..9adfb9df 100644 --- a/build/js/custom.js +++ b/build/js/custom.js @@ -45,17 +45,19 @@ $(document).ready(function() { // TODO: This is some kind of easy fix, maybe we can improve this var setContentHeight = function () { // reset height - $RIGHT_COL.css('min-height', $(window).height()); + //TODO don't think we need commented text below this anymore. To be deleted + //$RIGHT_COL.css('min-height', $(window).height()); - var bodyHeight = $BODY.outerHeight(), + /*var bodyHeight = $BODY.outerHeight(), footerHeight = $BODY.hasClass('footer_fixed') ? -10 : $FOOTER.height(), leftColHeight = $LEFT_COL.eq(1).height() + $SIDEBAR_FOOTER.height(), contentHeight = bodyHeight < leftColHeight ? leftColHeight : bodyHeight; // normalize content - contentHeight -= $NAV_MENU.height() + footerHeight; + contentHeight -= $NAV_MENU.height() + footerHeight;*/ - $RIGHT_COL.css('min-height', contentHeight); + //TODO don't think we need commented text below this anymore. To be deleted + //$RIGHT_COL.css('min-height', contentHeight); }; $SIDEBAR_MENU.find('a').on('click', function(ev) { diff --git a/production/fixed_sidebar.html b/production/fixed_sidebar.html index 0529359e..8d8f713e 100644 --- a/production/fixed_sidebar.html +++ b/production/fixed_sidebar.html @@ -176,7 +176,7 @@ -
+