提交 246f1952 编写于 作者: R razvanaldea89

#675 page length for bs4 ~ still needs some testing

上级 30c1e509
......@@ -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) {
......
......@@ -176,7 +176,7 @@
<!-- /menu footer buttons -->
</div>
</div>
<div class="col-lg-10 col-md-10 right_col_wrapper">
<div class="offset-md-2 col-lg-10 col-md-10 right_col_wrapper">
<div class="row">
<!-- top navigation -->
<div class="col-lg-12 top_nav">
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册