Dynamic preview panels size

This commit is contained in:
benweet 2014-03-10 23:54:15 +00:00
parent 7a25b4aeac
commit 4e5a264279

View File

@ -323,6 +323,9 @@ define([
$btnGroupElt.find('.dropdown-menu').css({
right: -previewButtonsWidth + $btnGroupElt.width() + $btnGroupElt.position().left
});
$btnGroupElt.find('.markdown-syntax, .table-of-contents').css({
'max-height': $(document).height() - $btnGroupElt.offset().top - 190
});
});
});