Skip to content
Snippets Groups Projects
Commit 3f7dd173 authored by Andreas Gohr's avatar Andreas Gohr
Browse files

make sure content column is at least as long as sidebar

parent 2329bcd3
No related branches found
No related tags found
No related merge requests found
......@@ -65,4 +65,11 @@ jQuery(function(){
resizeTimer = setTimeout(tpl_dokuwiki_mobile,200);
}
);
// increase sidebar length to match content (desktop mode only)
var $sb = jQuery('.desktop #dokuwiki__aside');
if($sb.length) {
var $ct = jQuery('#dokuwiki__content div.page');
if($sb.height() > $ct.height()) $ct.height($sb.height());
}
});
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment