diff --git a/templates/Sparkle/assets/js/main.js b/templates/Sparkle/assets/js/main.js index 51a2f231..3d0ec460 100644 --- a/templates/Sparkle/assets/js/main.js +++ b/templates/Sparkle/assets/js/main.js @@ -70,7 +70,7 @@ $(document).ready(function() { var snheight = $('#sidenavigation').height(); var mainheight = $('#maincontent').height(); if (snheight > mainheight && !$('#newsfeed').length) { - $('#maincontent').height(snheight); + $('#maincontent').css("min-height", snheight); } // this is necessary for the special setting feature (ref #1010) $.getQueryVariable = function(key) { @@ -219,4 +219,4 @@ $(document).ready(function() { }); autosize($('textarea.shell')); -}); \ No newline at end of file +});