mirror of https://github.com/TriliumNext/Notes
auto resizing (full height) of tree and editor to fill the window without creating global scrollbar (instead there are independent scrollbars for tree and editor)
parent
b986e93356
commit
bd19dd3e55
@ -0,0 +1,7 @@
|
||||
$(function() {
|
||||
$(window).resize(function() {
|
||||
$('div#tree').height($(window).height() - $('div#tree').offset().top);
|
||||
$('div.note-editable').height($(window).height() - $('div.note-editable').offset().top);
|
||||
});
|
||||
$(window).resize();
|
||||
});
|
||||
Loading…
Reference in New Issue