Dynamic preview panels size
This commit is contained in:
parent
7a25b4aeac
commit
4e5a264279
@ -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
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user