diff --git a/app/components/SimpleEditor/panes/Notes/Notes.js b/app/components/SimpleEditor/panes/Notes/Notes.js index 5879e890e64e6925089841c264689492f88e2411..f991bebd6dc2ba4479a7783a2d18e87c7e076eab 100644 --- a/app/components/SimpleEditor/panes/Notes/Notes.js +++ b/app/components/SimpleEditor/panes/Notes/Notes.js @@ -26,6 +26,8 @@ class Notes extends Component { const height = (this.el.el.offsetHeight + this.el.el.offsetTop - e.clientY) const scrollPane = document.getElementById('mini-editor-content-panel').children scrollPane[0].style.minHeight = height - 40 + 'px' + const mainScrollPane = document.getElementById('content-panel').children + mainScrollPane[0].style.maxHeight = this.el.el.offsetTop - 140 + 'px' this.el.el.style.height = height + 'px' }